Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4caf6b97 authored by Zhentao Sun's avatar Zhentao Sun Committed by Android Git Automerger
Browse files

am 880ef585: am f2f01148: Merge "Launched camera in the correct user." into mnc-dr-dev

* commit '880ef585':
  Launched camera in the correct user.
parents 5b9e3290 880ef585
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -35,6 +35,7 @@ import android.os.Handler;
import android.os.PowerManager;
import android.os.PowerManager.WakeLock;
import android.os.SystemProperties;
import android.os.UserHandle;
import android.os.Vibrator;
import android.provider.MediaStore;
import android.provider.Settings;
@@ -247,7 +248,7 @@ class GestureLauncherService extends SystemService {
            intent.setComponent(new ComponentName(componentInfo.activityInfo.packageName,
                    componentInfo.activityInfo.name));
            intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
            mContext.startActivity(intent);
            mContext.startActivityAsUser(intent, UserHandle.CURRENT);
            mWakeLock.release();
        }