summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorRichard Uhler <ruhler@google.com>2016-08-12 13:51:51 -0700
committerRichard Uhler <ruhler@google.com>2016-08-12 14:38:45 -0700
commitd42fe85bc93e4a27517555f27a8e7a591a135e19 (patch)
tree37a22e74497840ca415073a717336d82eca779c1 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent34910458c474defc2646e48666d9478ef3fc10f5 (diff)
Fix incorrect notification about running out of storage space.
Previously, if there were problems generating the boot image, we would display a notification saying the device is out of storage space, regardless of whether the device was actually out of storage. This change makes it so we only display the notification if the device has less than 250MB when the boot image is missing. Test: Verify the following sequence does not display the notification: $ adb shell stop $ adb shell rm /data/dalvik-cache/arm/*.oat $ adb shell setprop dalvik.vm.extra-opts -Xnoimage-dex2oat $ adb shell start Test: Verify the following sequence does display the notification: $ adb shell stop $ adb shell rm /data/dalvik-cache/arm/*.oat $ adb shell setprop dalvik.vm.extra-opts -Xnoimage-dex2oat $ adb shell setprop debug.freemem 104857600 $ adb shell start Bug: 28931369 Change-Id: Ia2291bf674af063a55f339d2a0411e670ca16ba2
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions