Automatically allowlist carui RRO packages.
Test: adb shell cmd user report-system-user-package-whitelist-problems --critical-only --mode 1 | grep carri || echo NOT_FOUND Test: atest PreInstalledPackagesTest Fixes: 172875945 Bug: 172956245 Change-Id: I137c2c0f3094899e864dcdfc83866f07fb1b210f
This commit is contained in:
@@ -418,6 +418,8 @@ class UserSystemPackageInstaller {
|
||||
@VisibleForTesting
|
||||
static boolean hasAutoGeneratedRROSuffix(String name) {
|
||||
return name.endsWith(".auto_generated_rro_product__")
|
||||
// TODO(b/172956245): temporary workaround until OEMs can customize name
|
||||
|| name.endsWith("carui.rro") || name.endsWith("carui.overlayable.rro")
|
||||
|| name.endsWith(".auto_generated_rro_vendor__");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user