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

Commit b1c7666a authored by Gustav Sennton's avatar Gustav Sennton Committed by android-build-merger
Browse files

Merge "Clear calling identity when enabling WebView fallback logic." into nyc-dev

am: 95cd5d58

* commit '95cd5d58':
  Clear calling identity when enabling WebView fallback logic.

Change-Id: I8d717fd9ad467f4ee8d7e204d9c1e3e84ff5af27
parents 1fd85346 95cd5d58
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -242,7 +242,12 @@ public class WebViewUpdateService extends SystemService {
                throw new SecurityException(msg);
            }

            long callingId = Binder.clearCallingIdentity();
            try {
                WebViewUpdateService.this.mImpl.enableFallbackLogic(enable);
            } finally {
                Binder.restoreCallingIdentity(callingId);
            }
        }
    }
}