Merge "[RESTRICT AUTOMERGE] Fix NullPointerException when mLockPatternUtils is not set." into pi-dev

This commit is contained in:
TreeHugger Robot
2019-05-21 09:44:05 +00:00
committed by Android (Google) Code Review

View File

@@ -794,7 +794,7 @@ public class LockTaskController {
} catch (Settings.SettingNotFoundException e) { } catch (Settings.SettingNotFoundException e) {
// Log to SafetyNet for b/127605586 // Log to SafetyNet for b/127605586
android.util.EventLog.writeEvent(0x534e4554, "127605586", -1, ""); android.util.EventLog.writeEvent(0x534e4554, "127605586", -1, "");
return mLockPatternUtils.isSecure(USER_CURRENT); return getLockPatternUtils().isSecure(USER_CURRENT);
} }
} }