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

Commit 207d7bd3 authored by Fyodor Kupolov's avatar Fyodor Kupolov Committed by Android (Google) Code Review
Browse files

Merge "Run isKeyguardSecure under system privileges" into lmp-mr1-dev

parents ef04ae79 c87d1628
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