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

Commit f8db59de authored by Fyodor Kupolov's avatar Fyodor Kupolov Committed by android-build-merger
Browse files

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

automerge: 562e87bd

* commit '562e87bd':
  Run isKeyguardSecure under system privileges
parents 1549346a 562e87bd
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -5401,7 +5401,12 @@ public class WindowManagerService extends IWindowManager.Stub

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

    @Override