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

Commit ad145073 authored by longyu.huang's avatar longyu.huang Committed by Gerrit Code Review
Browse files

The DUT can't screen shot in guest mode

Change-Id: I6c40f8b5399ed1a8f9d52ddf0ed28266eea8f48c
parent 5711b9e4
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -745,7 +745,8 @@ class GlobalActions implements DialogInterface.OnDismissListener, DialogInterfac
                @Override
                public void onServiceDisconnected(ComponentName name) {}
            };
            if (mContext.bindService(intent, conn, Context.BIND_AUTO_CREATE)) {
            if (mContext.bindServiceAsUser(
                    intent, conn, Context.BIND_AUTO_CREATE, UserHandle.CURRENT)) {
                mScreenshotConnection = conn;
                mHandler.postDelayed(mScreenshotTimeout, 10000);
            }