Merge "BiometricPrompt should setTextOperationUser" into rvc-dev am: 176c70efef am: b469ebf72f am: ccd6f63a35

Change-Id: Icf0662c23ac2fa6facc5f9e3f53b1757970ee2e6
This commit is contained in:
Kevin Chyn
2020-04-16 00:18:05 +00:00
committed by Automerger Merge Worker

View File

@@ -17,6 +17,7 @@
package com.android.systemui.biometrics;
import android.content.Context;
import android.os.UserHandle;
import android.text.InputType;
import android.util.AttributeSet;
import android.view.KeyEvent;
@@ -68,6 +69,7 @@ public class AuthCredentialPasswordView extends AuthCredentialView
protected void onAttachedToWindow() {
super.onAttachedToWindow();
mPasswordField.setTextOperationUser(UserHandle.of(mUserId));
if (mCredentialType == Utils.CREDENTIAL_PIN) {
mPasswordField.setInputType(
InputType.TYPE_CLASS_NUMBER | InputType.TYPE_NUMBER_VARIATION_PASSWORD);