commit | 2e42c393f2d5521d20acd9281d411a0fbc6196c3 | [log] [tgz] |
---|---|---|
author | Songchun Fan <schfan@google.com> | Fri Sep 09 14:50:31 2022 -0700 |
committer | Songchun Fan <schfan@google.com> | Mon Sep 12 17:26:02 2022 -0700 |
tree | d737bc9bbd4ce8596679a46d70d44b2c1c61039a | |
parent | 3fe8fdc4dc2a4172d99faf2a398fa4ba77bbd4a5 [diff] |
[pm] forbid deletion of protected packages BUG: 242996180 Test: adb shell pm uninstall --user 0 com.google.android.apps.work.oobconfig Test: Verified with the command above. Before this CL, the package can be deleted. After this CL, the deletion will fail. Change-Id: Iba408e536b340ea5d66ab499442c0c4f828fa36f (cherry picked from commit 15f85c7fa97fe9faa540e6ad9e850990f46a5cca) Merged-In: Iba408e536b340ea5d66ab499442c0c4f828fa36f