commit | bab6e492ef06f8ed3c83578b2ac5b4b8e07197ae | [log] [tgz] |
---|---|---|
author | Jonathan Hamilton <jonathan.hamilton@imgtec.com> | Thu May 05 15:30:57 2016 -0700 |
committer | Jonathan Hamilton <jonathan.hamilton@imgtec.com> | Thu May 05 15:30:57 2016 -0700 |
tree | a25c67671b5b62b2b9b5d0b3b007a4224ed5aa36 | |
parent | ecd6e2af5060ba3f7d5c978be6d617d1242f231c [diff] |
Keep ADF device alive for the lifetime of the minui backend Some ADF drivers do some amount of state cleanup when the ADF device node is closed, making and attempts to draw using it fail. This changes the minui ADF backend to keep the adf_device open until it is exited, fixing issues on such devices.
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