diff options
author | Dianne Hackborn <hackbod@google.com> | 2012-08-23 13:54:58 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2012-08-23 13:59:40 -0700 |
commit | f1c26e2fd03e9765fde519e238fc23d4e3d06df2 (patch) | |
tree | c483b7aab13489eec3ca16356bea95b49f170ba5 /core/java/android/app/ContextImpl.java | |
parent | 848bde2688e9b44dffd0d8b7c7428602b7db451e (diff) | |
download | frameworks_base-f1c26e2fd03e9765fde519e238fc23d4e3d06df2.zip frameworks_base-f1c26e2fd03e9765fde519e238fc23d4e3d06df2.tar.gz frameworks_base-f1c26e2fd03e9765fde519e238fc23d4e3d06df2.tar.bz2 |
Fix issue #7016987: Unable to attach a picture in gmail/emaill composer action.
Change-Id: I0c9336bb072b4622a5eab6d3ec104c4cc38e367a
Diffstat (limited to 'core/java/android/app/ContextImpl.java')
-rw-r--r-- | core/java/android/app/ContextImpl.java | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/core/java/android/app/ContextImpl.java b/core/java/android/app/ContextImpl.java index 0543f05..6c9a59e 100644 --- a/core/java/android/app/ContextImpl.java +++ b/core/java/android/app/ContextImpl.java @@ -909,14 +909,7 @@ class ContextImpl extends Context { /** @hide */ @Override public void startActivityAsUser(Intent intent, UserHandle user) { - try { - ActivityManagerNative.getDefault().startActivityAsUser( - mMainThread.getApplicationThread(), intent, - intent.resolveTypeIfNeeded(getContentResolver()), - null, null, 0, Intent.FLAG_ACTIVITY_NEW_TASK, null, null, null, - user.getIdentifier()); - } catch (RemoteException re) { - } + startActivityAsUser(intent, null, user); } @Override |