diff options
author | Michael Jurka <mikejurka@google.com> | 2011-09-19 11:18:19 -0700 |
---|---|---|
committer | Michael Jurka <mikejurka@google.com> | 2011-09-19 11:18:19 -0700 |
commit | 7e9c49c8ebef8e03e196d155bf777f2dfc835091 (patch) | |
tree | 8d5b471c75ec5ac036009efb1863adb75d68c848 /packages/SystemUI/src/com/android/systemui/recent | |
parent | 31f971b57f526e2688241080b30c7e8df33bf62d (diff) | |
download | frameworks_base-7e9c49c8ebef8e03e196d155bf777f2dfc835091.zip frameworks_base-7e9c49c8ebef8e03e196d155bf777f2dfc835091.tar.gz frameworks_base-7e9c49c8ebef8e03e196d155bf777f2dfc835091.tar.bz2 |
Fix crash in recent apps
Bug #5332922
Change-Id: I223cdd306c6872cc47c53456da195c0d83c8f8bd
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/recent')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java b/packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java index 0621b22..b49309a 100644 --- a/packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java +++ b/packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java @@ -589,7 +589,8 @@ public class RecentsPanelView extends RelativeLayout if (mActivityDescriptions.size() > 0) { if (DEBUG) Log.v(TAG, "Showing " + mActivityDescriptions.size() + " apps"); updateUiElements(getResources().getConfiguration()); - final ArrayList<ActivityDescription> descriptions = mActivityDescriptions; + final ArrayList<ActivityDescription> descriptions = + new ArrayList<ActivityDescription>(mActivityDescriptions); loadActivityDescription(descriptions.get(0), 0); applyActivityDescription(descriptions.get(0), 0, false); if (descriptions.size() > 1) { |