Merge "Automatically allowlist carui RRO packages."

This commit is contained in:
TreeHugger Robot
2020-11-11 21:00:09 +00:00
committed by Android (Google) Code Review

View File

@@ -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__");
}