summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/src/com/android/systemui/recent
diff options
context:
space:
mode:
authorAmith Yamasani <yamasani@google.com>2012-08-10 17:06:33 -0700
committerAmith Yamasani <yamasani@google.com>2012-08-11 18:24:07 -0700
commit258848d2ae04f447ff1c18023fa76b139fcc0862 (patch)
tree8736421f4007d81206d0f0ea8b32a2013508976a /packages/SystemUI/src/com/android/systemui/recent
parent75f0fac91bd7fa67fa76cfdd4e163b9f35be0432 (diff)
downloadframeworks_base-258848d2ae04f447ff1c18023fa76b139fcc0862.zip
frameworks_base-258848d2ae04f447ff1c18023fa76b139fcc0862.tar.gz
frameworks_base-258848d2ae04f447ff1c18023fa76b139fcc0862.tar.bz2
User Manager service to manage users and query user details
Moved a bunch of methods from PackageManager to UserManager. Fix launching of activities from recents to correct user. Guest creation APIs Change-Id: I0733405e6eb2829675665e225c759d6baa2b708f
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 cb69660..bb647c3 100644
--- a/packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java
+++ b/packages/SystemUI/src/com/android/systemui/recent/RecentsPanelView.java
@@ -36,6 +36,7 @@ import android.graphics.drawable.Drawable;
import android.net.Uri;
import android.os.RemoteException;
import android.os.ServiceManager;
+import android.os.UserId;
import android.provider.Settings;
import android.util.AttributeSet;
import android.util.Log;
@@ -789,7 +790,7 @@ 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.startActivity(intent, opts.toBundle());
+ context.startActivityAsUser(intent, opts.toBundle(), UserId.USER_CURRENT);
}
if (usingDrawingCache) {
holder.thumbnailViewImage.setDrawingCacheEnabled(false);