summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/src/com/android/systemui/recents
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2014-09-01 16:40:41 -0700
committerWinson Chung <winsonc@google.com>2014-09-01 23:41:21 +0000
commit15155519ba9ce8302d5ca1771f7816cd683a2051 (patch)
tree33101c9f763877f1f0d30fa92840376c142e467c /packages/SystemUI/src/com/android/systemui/recents
parentbf8871db617d76ee66c5cf803f0bafa5e93998e9 (diff)
downloadframeworks_base-15155519ba9ce8302d5ca1771f7816cd683a2051.zip
frameworks_base-15155519ba9ce8302d5ca1771f7816cd683a2051.tar.gz
frameworks_base-15155519ba9ce8302d5ca1771f7816cd683a2051.tar.bz2
Fixing Recents crash with non-primary user. (Bug 17343688)
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/recents')
-rw-r--r--packages/SystemUI/src/com/android/systemui/recents/RecentsActivity.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/recents/RecentsActivity.java b/packages/SystemUI/src/com/android/systemui/recents/RecentsActivity.java
index 6cae7d4..082dde6 100644
--- a/packages/SystemUI/src/com/android/systemui/recents/RecentsActivity.java
+++ b/packages/SystemUI/src/com/android/systemui/recents/RecentsActivity.java
@@ -355,6 +355,8 @@ public class RecentsActivity extends Activity implements RecentsView.RecentsView
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
+ // For the non-primary user, ensure that the SystemSericesProxy is initialized
+ RecentsTaskLoader.initialize(this);
// Initialize the loader and the configuration
mConfig = RecentsConfiguration.reinitialize(this,