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

Commit 4e0c3bb4 authored by Eugene Susla's avatar Eugene Susla
Browse files

Fix DefGrantPolicyTest

Fixes: 132640252
Test: atest com.google.android.permission.gts.DefaultPermissionGrantPolicyTest#testDefaultGrantsWithRemoteExceptions
Change-Id: I6f3535f12a03277f125c595757cab7fd9cdd7b8a
parent f07a8fdc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -396,8 +396,8 @@ public class TelecomServiceImpl {
            synchronized (mLock) {
                try {
                    Log.startSession("TSI.gSCM");
                    final int user = ActivityManager.getCurrentUser();
                    final int callingUid = Binder.getCallingUid();
                    final int user = UserHandle.getUserId(callingUid);
                    long token = Binder.clearCallingIdentity();
                    try {
                        if (user != ActivityManager.getCurrentUser()) {