Loading packages/SystemUI/src/com/android/systemui/SystemUIApplication.java +1 −0 Original line number Diff line number Diff line Loading @@ -87,6 +87,7 @@ public class SystemUIApplication extends Application implements SysUiServiceProv * above. */ private final Class<?>[] SERVICES_PER_USER = new Class[] { Dependency.class, Recents.class, PipUI.class }; Loading packages/SystemUI/src/com/android/systemui/recents/Recents.java +1 −1 Original line number Diff line number Diff line Loading @@ -205,7 +205,6 @@ public class Recents extends SystemUI sTaskLoader = new RecentsTaskLoader(mContext); sConfiguration = new RecentsConfiguration(mContext); mHandler = new Handler(); getComponent(CommandQueue.class).addCallbacks(this); UiModeManager uiModeManager = (UiModeManager) mContext. getSystemService(Context.UI_MODE_SERVICE); if (uiModeManager.getCurrentModeType() == Configuration.UI_MODE_TYPE_TELEVISION) { Loading Loading @@ -234,6 +233,7 @@ public class Recents extends SystemUI if (sSystemServicesProxy.isSystemUser(processUser)) { // For the system user, initialize an instance of the interface that we can pass to the // secondary user getComponent(CommandQueue.class).addCallbacks(this); mSystemToUserCallbacks = new RecentsSystemUser(mContext, mImpl); } else { // For the secondary user, bind to the primary user's service to get a persistent Loading Loading
packages/SystemUI/src/com/android/systemui/SystemUIApplication.java +1 −0 Original line number Diff line number Diff line Loading @@ -87,6 +87,7 @@ public class SystemUIApplication extends Application implements SysUiServiceProv * above. */ private final Class<?>[] SERVICES_PER_USER = new Class[] { Dependency.class, Recents.class, PipUI.class }; Loading
packages/SystemUI/src/com/android/systemui/recents/Recents.java +1 −1 Original line number Diff line number Diff line Loading @@ -205,7 +205,6 @@ public class Recents extends SystemUI sTaskLoader = new RecentsTaskLoader(mContext); sConfiguration = new RecentsConfiguration(mContext); mHandler = new Handler(); getComponent(CommandQueue.class).addCallbacks(this); UiModeManager uiModeManager = (UiModeManager) mContext. getSystemService(Context.UI_MODE_SERVICE); if (uiModeManager.getCurrentModeType() == Configuration.UI_MODE_TYPE_TELEVISION) { Loading Loading @@ -234,6 +233,7 @@ public class Recents extends SystemUI if (sSystemServicesProxy.isSystemUser(processUser)) { // For the system user, initialize an instance of the interface that we can pass to the // secondary user getComponent(CommandQueue.class).addCallbacks(this); mSystemToUserCallbacks = new RecentsSystemUser(mContext, mImpl); } else { // For the secondary user, bind to the primary user's service to get a persistent Loading