Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9f44b9ab authored by Marcelo Arteiro's avatar Marcelo Arteiro
Browse files

Skips ThemeOverlayController check during Boot on WearOS

Bug: 348674320
Test: manual - check that device boots normally
Flag: EXEMPT bugfix
Change-Id: I64756776c45b05227691b27ba82e088bd51cbfc3
parent 3e39b04e
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -5460,9 +5460,11 @@ public class ActivityManagerService extends IActivityManager.Stub
        // without even solving the underlying issue (it merely hits the timeout).
        // This feature is disabled on TV since the ThemeOverlayController is currently not present
        // and therefore we do not want to wait unnecessarily.
        // This feature is currently disabled in WearOS to avoid extreme boot regressions
        return enableHomeDelay()
                && !mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE)
                && !mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_LEANBACK);
                && !mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_LEANBACK)
                && !mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_WATCH);
    }
    final void ensureBootCompleted() {