commit | 0ba21cff07ceafeaa43e17aa26e341d961f6f29f | [log] [tgz] |
---|---|---|
author | Prashant Malani <pmalani@google.com> | Thu Mar 10 14:51:25 2016 -0800 |
committer | Prashant Malani <pmalani@google.com> | Thu Mar 10 15:36:31 2016 -0800 |
tree | 952df7e80dff00b8ad1d091d8a4bf65e31d16c88 | |
parent | d345de66efb919e8c0d09ee5b4d8ae0d443d6c94 [diff] |
recovery: Remove duplicate variables and functions The function that modifies rtl_locale exists only in the base class, and so the variable should not have a duplicate in the derived class, otherwise there may be incosistent values when it is read by the derived class (the thinking being that invoking the function will modify the base class version of the variable, and not the derived class version). Remove the updateMutex variable, and instead re-use the one in the base class. Also remove LoadBitmap from WearUI since it is identical to the one in ScreenRecoveryUI. Bug: 27407422 Change-Id: Idd823fa93dfa16d7b2c9c7160f8d0c2559d28731
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