Merge "Call webview updating logic with the system UID when setup done." into nyc-dev

This commit is contained in:
Gustav Sennton
2016-02-24 12:56:08 +00:00
committed by Android (Google) Code Review

View File

@@ -364,9 +364,14 @@ public class WebViewUpdateService extends SystemService {
return;
}
synchronized (WebViewUpdateService.this) {
mNumRelroCreationsFinished++;
checkIfRelrosDoneLocked();
long callingId = Binder.clearCallingIdentity();
try {
synchronized (WebViewUpdateService.this) {
mNumRelroCreationsFinished++;
checkIfRelrosDoneLocked();
}
} finally {
Binder.restoreCallingIdentity(callingId);
}
}