summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/src/com/android/systemui/recent
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2012-08-16 16:42:52 -0700
committerDianne Hackborn <hackbod@google.com>2012-08-17 10:36:08 -0700
commit79af1dd54c16cde063152922b42c96d72ae9eca8 (patch)
tree142abf0037d20841712e88d65febcbbd92dd5561 /packages/SystemUI/src/com/android/systemui/recent
parentf1b995f9d049cb5c7225b3b17f09369237a83ca2 (diff)
downloadframeworks_base-79af1dd54c16cde063152922b42c96d72ae9eca8.zip
frameworks_base-79af1dd54c16cde063152922b42c96d72ae9eca8.tar.gz
frameworks_base-79af1dd54c16cde063152922b42c96d72ae9eca8.tar.bz2
Switch public APIs to use new UserHandle class for identifying users.
Gets rid of "yet another integer" confusion. Change-Id: Id07ea7307aea7c62f0087c6663a1f1c08e2e5dee
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/recent')
-rw-r--r--packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java3
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 7d36152..7738f81 100644
--- a/packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java
+++ b/packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java
@@ -790,7 +790,8 @@ public class RecentsPanelView extends FrameLayout implements OnItemClickListener
| Intent.FLAG_ACTIVITY_TASK_ON_HOME
| Intent.FLAG_ACTIVITY_NEW_TASK);
if (DEBUG) Log.v(TAG, "Starting activity " + intent);
- context.startActivityAsUser(intent, opts.toBundle(), UserHandle.USER_CURRENT);
+ context.startActivityAsUser(intent, opts.toBundle(),
+ new UserHandle(UserHandle.USER_CURRENT));
}
if (usingDrawingCache) {
holder.thumbnailViewImage.setDrawingCacheEnabled(false);