Merge "Enable static RROs by default" into oc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
22ea35187f
@@ -102,7 +102,8 @@ final class OverlayManagerServiceImpl {
|
|||||||
|
|
||||||
if (oi == null) {
|
if (oi == null) {
|
||||||
// This overlay does not exist in our settings.
|
// This overlay does not exist in our settings.
|
||||||
if (mDefaultOverlays.contains(overlayPackage.packageName)) {
|
if (overlayPackage.isStaticOverlay ||
|
||||||
|
mDefaultOverlays.contains(overlayPackage.packageName)) {
|
||||||
// Enable this overlay by default.
|
// Enable this overlay by default.
|
||||||
mSettings.setEnabled(overlayPackage.packageName, newUserId, true);
|
mSettings.setEnabled(overlayPackage.packageName, newUserId, true);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user