commit | 2d6eae165b74dd52233b0a2fbde37875774dd9d0 | [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:53 2022 +0000 |
tree | e7fc8ceaeb65fb624aca49f2a63ff2368dc03297 | |
parent | 489f92832d29fbc8626528f0ec368cfb27b7cf11 [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