Loading packages/SystemUI/src/com/android/systemui/recent/Recents.java +5 −0 Original line number Diff line number Diff line Loading @@ -61,6 +61,11 @@ public class Recents extends SystemUI implements RecentsComponent { @Override protected void onBootCompleted() { if (mUseAlternateRecents) { if (mAlternateRecents != null) { mAlternateRecents.onBootCompleted(); } } mBootCompleted = true; } Loading packages/SystemUI/src/com/android/systemui/recents/AlternateRecentsComponent.java +7 −2 Original line number Diff line number Diff line Loading @@ -153,6 +153,7 @@ public class AlternateRecentsComponent implements ActivityOptions.OnAnimationSta Messenger mService = null; Messenger mMessenger; RecentsMessageHandler mHandler; boolean mBootCompleted = false; boolean mServiceIsBound = false; boolean mToggleRecentsUponServiceBound; RecentsServiceConnection mConnection = new RecentsServiceConnection(); Loading Loading @@ -182,6 +183,10 @@ public class AlternateRecentsComponent implements ActivityOptions.OnAnimationSta bindToRecentsService(false); } public void onBootCompleted() { mBootCompleted = true; } /** Shows the recents */ public void onShowRecents(boolean triggeredFromAltTab, View statusBarView) { if (Console.Enabled) { Loading @@ -208,7 +213,7 @@ public class AlternateRecentsComponent implements ActivityOptions.OnAnimationSta if (Console.Enabled) { Console.log(Constants.Log.App.RecentsComponent, "[RecentsComponent|hideRecents]"); } if (mServiceIsBound) { if (mServiceIsBound && mBootCompleted) { // Notify recents to close it try { Bundle data = new Bundle(); Loading Loading @@ -278,7 +283,7 @@ public class AlternateRecentsComponent implements ActivityOptions.OnAnimationSta /** Updates each of the task animation rects. */ void updateAnimationRects() { if (mServiceIsBound) { if (mServiceIsBound && mBootCompleted) { Resources res = mContext.getResources(); int statusBarHeight = res.getDimensionPixelSize( com.android.internal.R.dimen.status_bar_height); Loading Loading
packages/SystemUI/src/com/android/systemui/recent/Recents.java +5 −0 Original line number Diff line number Diff line Loading @@ -61,6 +61,11 @@ public class Recents extends SystemUI implements RecentsComponent { @Override protected void onBootCompleted() { if (mUseAlternateRecents) { if (mAlternateRecents != null) { mAlternateRecents.onBootCompleted(); } } mBootCompleted = true; } Loading
packages/SystemUI/src/com/android/systemui/recents/AlternateRecentsComponent.java +7 −2 Original line number Diff line number Diff line Loading @@ -153,6 +153,7 @@ public class AlternateRecentsComponent implements ActivityOptions.OnAnimationSta Messenger mService = null; Messenger mMessenger; RecentsMessageHandler mHandler; boolean mBootCompleted = false; boolean mServiceIsBound = false; boolean mToggleRecentsUponServiceBound; RecentsServiceConnection mConnection = new RecentsServiceConnection(); Loading Loading @@ -182,6 +183,10 @@ public class AlternateRecentsComponent implements ActivityOptions.OnAnimationSta bindToRecentsService(false); } public void onBootCompleted() { mBootCompleted = true; } /** Shows the recents */ public void onShowRecents(boolean triggeredFromAltTab, View statusBarView) { if (Console.Enabled) { Loading @@ -208,7 +213,7 @@ public class AlternateRecentsComponent implements ActivityOptions.OnAnimationSta if (Console.Enabled) { Console.log(Constants.Log.App.RecentsComponent, "[RecentsComponent|hideRecents]"); } if (mServiceIsBound) { if (mServiceIsBound && mBootCompleted) { // Notify recents to close it try { Bundle data = new Bundle(); Loading Loading @@ -278,7 +283,7 @@ public class AlternateRecentsComponent implements ActivityOptions.OnAnimationSta /** Updates each of the task animation rects. */ void updateAnimationRects() { if (mServiceIsBound) { if (mServiceIsBound && mBootCompleted) { Resources res = mContext.getResources(); int statusBarHeight = res.getDimensionPixelSize( com.android.internal.R.dimen.status_bar_height); Loading