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

Commit dad15d5c authored by Karthik Ravi Shankar's avatar Karthik Ravi Shankar Committed by android-build-merger
Browse files

Merge "Fix the binder calling identity in setVrMode" into pi-dev am: 88757bbb

am: 48a8c94e

Change-Id: I9b7ea3112037ae4d914f76b2c2952cb096971c92
parents 20f6e59d 48a8c94e
Loading
Loading
Loading
Loading
+12 −6
Original line number Diff line number Diff line
@@ -14288,6 +14288,9 @@ public class ActivityManagerService extends IActivityManager.Stub
            return err;
        }
        // Clear the binder calling uid since this path may call moveToTask().
        final long callingId = Binder.clearCallingIdentity();
        try {
            synchronized(this) {
                r.requestedVrComponent = (enabled) ? packageName : null;
@@ -14297,6 +14300,9 @@ public class ActivityManagerService extends IActivityManager.Stub
                }
                return 0;
            }
        } finally {
            Binder.restoreCallingIdentity(callingId);
        }
    }
    @Override