commit | dba7ceb57ecdf9485bcfe8eb554510ccf9ad773c | [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:08:24 2022 +0000 |
tree | 4903f06cff0233c2f20ff245abbd6966d71931a5 | |
parent | 07afb475071761f8a473ae642d76f9aedc455dea [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