Handle compressed APK enable/disable
There are two scenarios handled with this change: * When updates are removed for a compressed APK, we re-scan the stub and disable the package. The stub must never be enabled by its own * When a stub is enabled programatically [eg. via settings], extract the compressed APK to the data partition, scan the extracted APKs and only then enable the application Bug: 64386107 Test: Manual; create a test stub app and verify enable/disable work as expected from the settings UI Test: Manual; chagne the code to trigger various failures and verify the system remains stable Change-Id: Ia4cb8e25ce8da11edc910d531eedaa37a9093002
Loading
Please register or sign in to comment