diff options
author | Todd Kennedy <toddke@google.com> | 2019-04-10 14:58:43 -0700 |
---|---|---|
committer | Todd Kennedy <toddke@google.com> | 2019-04-10 15:14:05 -0700 |
commit | 6fa6a9f0e39370fa106a72bc953dc8552dccac5f (patch) | |
tree | 35d56a7b8ec630b306888bf643f057ca006a7951 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | dd07ae579c291a2b6ffe09bd576fd908eb9e5ddd (diff) |
Fix compressed stubs
Whenever the stub package is uninstalled from /data, we now
install the compressed version from the system image.
Disabling a package still does not remove any version on /data.
This means that a compressed package may be un-updated, yet
disabled and it will continue to consume space on /data. To
clear /data completely, disable the application and then uninstall.
Fixes: 123919310
Test: Manual. Put compressed APK on the /system image
Test: Boot the device, see two packages are installed [/system & /data]
Test: Uninstall the appliction on /data, see two packages are installed [/system & /data]. verified package on /data is new
Test: Disable the application, see two packages are installed [/system & data] and user-disabled. verified package on /data is same pre/post disable
Test: Uninstall the disabled application, see one package is installed [/system] and user-disabled
Test: Enable the application, see two packages are installed [/system & data] and enabled
Test: Corrupt compressed APK and reboot/enable/uninstall update, see one package is installed [/system] and disabled
Change-Id: I6fdd3ed485db0d3f8135266010d6797d9ac37ea0
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions