commit | 9020e0f141d1c26dcf8b6fa4212ee94b7891d53f | [log] [tgz] |
---|---|---|
author | Prashant Malani <pmalani@google.com> | Fri Mar 11 11:57:10 2016 -0800 |
committer | Prashant Malani <pmalani@google.com> | Fri Mar 18 06:03:21 2016 +0000 |
tree | de23736ef7d085e7d780703b93774f3b47986631 | |
parent | ce5868862a04a348967fb5bdad291b2b27b6e506 [diff] |
recovery: Move SwipeDetector into common location The SwipeDetector class is used almost unchanged in all locations. This patch moves it into the recovery module, from which devices can reference it if required. The class is now renamed to WearSwipeDetector. Bug: 27407422 Change-Id: Ifd3c7069a287548b89b14ab5d6d2b90a298e0145
mm -j && m ramdisk-nodeps && m recoveryimage-nodeps # To boot into the new recovery image # without flashing the recovery partition: adb reboot bootloader fastboot boot $ANDROID_PRODUCT_OUT/recovery.img
# After setting up environment and lunch. mmma -j bootable/recovery # Running the tests on device. adb root adb sync data # 32-bit device adb shell /data/nativetest/recovery_unit_test/recovery_unit_test adb shell /data/nativetest/recovery_component_test/recovery_component_test # Or 64-bit device adb shell /data/nativetest64/recovery_unit_test/recovery_unit_test adb shell /data/nativetest64/recovery_component_test/recovery_component_test