Loading services/core/java/com/android/server/am/ActivityManagerService.java +5 −2 Original line number Diff line number Diff line Loading @@ -5481,8 +5481,11 @@ public class ActivityManagerService extends IActivityManager.Stub private boolean isHomeLaunchDelayable() { // This feature is disabled on Auto since it seems to add an unacceptably long boot delay // without even solving the underlying issue (it merely hits the timeout). return enableHomeDelay() && !mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE); // This feature is disabled on TV since the ThemeOverlayController is currently not present // and therefore we do not want to wait unnecessarily. return enableHomeDelay() && !mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE) && !mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_LEANBACK); } final void ensureBootCompleted() { Loading Loading
services/core/java/com/android/server/am/ActivityManagerService.java +5 −2 Original line number Diff line number Diff line Loading @@ -5481,8 +5481,11 @@ public class ActivityManagerService extends IActivityManager.Stub private boolean isHomeLaunchDelayable() { // This feature is disabled on Auto since it seems to add an unacceptably long boot delay // without even solving the underlying issue (it merely hits the timeout). return enableHomeDelay() && !mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE); // This feature is disabled on TV since the ThemeOverlayController is currently not present // and therefore we do not want to wait unnecessarily. return enableHomeDelay() && !mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE) && !mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_LEANBACK); } final void ensureBootCompleted() { Loading