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

Commit 562e87bd authored by Fyodor Kupolov's avatar Fyodor Kupolov Committed by Android Git Automerger
Browse files

am 207d7bd3: Merge "Run isKeyguardSecure under system privileges" into lmp-mr1-dev

* commit '207d7bd3':
  Run isKeyguardSecure under system privileges
parents 82da2ee9 207d7bd3
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -5381,7 +5381,12 @@ public class WindowManagerService extends IWindowManager.Stub

    @Override
    public boolean isKeyguardSecure() {
        long origId = Binder.clearCallingIdentity();
        try {
            return mPolicy.isKeyguardSecure();
        } finally {
            Binder.restoreCallingIdentity(origId);
        }
    }

    @Override