Merge "Adding null check to prevent NPE" into tm-dev am: da9b7dcacc
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17938066 Change-Id: I750207cd792e98487126b7d39231a78cc865a802 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -261,8 +261,10 @@ public class KeyguardManager {
|
||||
CharSequence title, CharSequence description, int userId,
|
||||
boolean disallowBiometricsIfPolicyExists) {
|
||||
Intent intent = this.createConfirmDeviceCredentialIntent(title, description, userId);
|
||||
intent.putExtra(EXTRA_DISALLOW_BIOMETRICS_IF_POLICY_EXISTS,
|
||||
disallowBiometricsIfPolicyExists);
|
||||
if (intent != null) {
|
||||
intent.putExtra(EXTRA_DISALLOW_BIOMETRICS_IF_POLICY_EXISTS,
|
||||
disallowBiometricsIfPolicyExists);
|
||||
}
|
||||
return intent;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user