Merge "Run isKeyguardSecure under system privileges" into lmp-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
207d7bd3a4
@@ -5381,7 +5381,12 @@ public class WindowManagerService extends IWindowManager.Stub
|
||||
|
||||
@Override
|
||||
public boolean isKeyguardSecure() {
|
||||
return mPolicy.isKeyguardSecure();
|
||||
long origId = Binder.clearCallingIdentity();
|
||||
try {
|
||||
return mPolicy.isKeyguardSecure();
|
||||
} finally {
|
||||
Binder.restoreCallingIdentity(origId);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user