summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/src/com/android/systemui/recents
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2014-10-01 15:14:34 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-10-01 15:14:34 +0000
commit3175f7d245daba660852cbcb92a7a821899b70a3 (patch)
treefd4822e402a99eaaf3e109fe014e07f6565d1600 /packages/SystemUI/src/com/android/systemui/recents
parenteac6926f0cb260339ec7ec2495964331249338e2 (diff)
parent2396f135678e8a40b963904e8a6710bc6a204180 (diff)
downloadframeworks_base-3175f7d245daba660852cbcb92a7a821899b70a3.zip
frameworks_base-3175f7d245daba660852cbcb92a7a821899b70a3.tar.gz
frameworks_base-3175f7d245daba660852cbcb92a7a821899b70a3.tar.bz2
am 2396f135: am e3206407: Merge "Fixing crash in Recents due to late onBootCompleted call (Bug 17572254)" into lmp-dev
* commit '2396f135678e8a40b963904e8a6710bc6a204180': Fixing crash in Recents due to late onBootCompleted call (Bug 17572254)
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/recents')
-rw-r--r--packages/SystemUI/src/com/android/systemui/recents/AlternateRecentsComponent.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/recents/AlternateRecentsComponent.java b/packages/SystemUI/src/com/android/systemui/recents/AlternateRecentsComponent.java
index 5caf1ac..8416ad7 100644
--- a/packages/SystemUI/src/com/android/systemui/recents/AlternateRecentsComponent.java
+++ b/packages/SystemUI/src/com/android/systemui/recents/AlternateRecentsComponent.java
@@ -112,15 +112,11 @@ public class AlternateRecentsComponent implements ActivityOptions.OnAnimationSta
mTaskStackBounds = new Rect();
}
- public void onStart() {}
-
- public void onBootCompleted() {
+ public void onStart() {
// Initialize some static datastructures
TaskStackViewLayoutAlgorithm.initializeCurve();
// Load the header bar layout
reloadHeaderBarLayout();
- mBootCompleted = true;
-
// Try and pre-emptively bind the search widget on startup to ensure that we
// have the right thumbnail bounds to animate to.
if (Constants.DebugFlags.App.EnableSearchLayout) {
@@ -138,6 +134,10 @@ public class AlternateRecentsComponent implements ActivityOptions.OnAnimationSta
}
}
+ public void onBootCompleted() {
+ mBootCompleted = true;
+ }
+
/** Shows the recents */
public void onShowRecents(boolean triggeredFromAltTab, View statusBarView) {
mStatusBarView = statusBarView;