Merge "Fix NPE in LockPatternUtils"

This commit is contained in:
TreeHugger Robot
2017-01-24 01:26:39 +00:00
committed by Android (Google) Code Review

View File

@@ -1314,7 +1314,7 @@ public class LockPatternUtils {
}
private boolean isDoNotAskCredentialsOnBootSet() {
return mDevicePolicyManager.getDoNotAskCredentialsOnBoot();
return getDevicePolicyManager().getDoNotAskCredentialsOnBoot();
}
private boolean shouldEncryptWithCredentials(boolean defaultValue) {