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

Commit e64f7519 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: I90c95432cba8364ca5a74b6a7b219435291f0769
parent 6bfea606
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -804,7 +804,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);
            }