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

Commit fa1b9867 authored by Jonathan Scott's avatar Jonathan Scott
Browse files

[RESTRICT AUTOMERGE] Fix NullPointerException when mLockPatternUtils is not set.

Test: atest LockTaskControllerTest
Bug: 132593073
Change-Id: I1bfacd5992569d67cdaa526b18d1c426a366babb
parent 97999565
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -794,7 +794,7 @@ public class LockTaskController {
        } catch (Settings.SettingNotFoundException e) {
            // Log to SafetyNet for b/127605586
            android.util.EventLog.writeEvent(0x534e4554, "127605586", -1, "");
            return mLockPatternUtils.isSecure(USER_CURRENT);
            return getLockPatternUtils().isSecure(USER_CURRENT);
        }
    }