commit | cbda45eb956ec1f9105b45c5f995c1a15fba1c07 | [log] [tgz] |
---|---|---|
author | Songchun Fan <schfan@google.com> | Fri Sep 09 14:50:31 2022 -0700 |
committer | Songchun Fan <schfan@google.com> | Tue Sep 13 18:09:22 2022 +0000 |
tree | a27622d31b0ec405752250bb20b169174a8afac4 | |
parent | 3bf1fa119880865c9e2ec7aac1393d6dcc2305eb [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