commit | 31c098c4271ad4fdfb3809e05017ead8d9f6580f | [log] [tgz] |
---|---|---|
author | lpeter <lpeter@google.com> | Tue Jul 16 00:14:47 2024 +0000 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Sep 12 03:55:31 2024 +0000 |
tree | d5cb25384b6f92f59854a5a6914bcc0ab42e8ce5 | |
parent | 2457d4e459ee6ffd099b9ff7cce9c83119c3ce66 [diff] |
Disallow device admin package and protected packages to be reinstalled as instant. We should prevent the following types of apps from being reinstalled with --install-existing as an instant. (1)device admin package (2)protected packages Flag: EXEMPT bugfix Bug: 341256043 Test: atest android.content.pm.cts.PackageManagerTest Test: Manual test (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:12b2fd162c91441ea89517cf9e2359ef6aea9f82) Merged-In: I30244cf18aa6522361f13a1d2119ac5847939ddd Change-Id: I30244cf18aa6522361f13a1d2119ac5847939ddd