commit | b6680141a9de946336cc8c0b0dcf69a31054c814 | [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 16:57:33 2022 +0000 |
tree | e9e74cacb90af9e4a76aab19f8ac0a5da975fb7e | |
parent | 1c02d77cd7138044a51fb095d518c173f21b559e [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