Merge "BiometricPrompt should setTextOperationUser" into rvc-dev am: 176c70efef
Change-Id: I28ed95af247bb69cb657f9a84aabcfcd781f6014
This commit is contained in:
@@ -17,6 +17,7 @@
|
|||||||
package com.android.systemui.biometrics;
|
package com.android.systemui.biometrics;
|
||||||
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
|
import android.os.UserHandle;
|
||||||
import android.text.InputType;
|
import android.text.InputType;
|
||||||
import android.util.AttributeSet;
|
import android.util.AttributeSet;
|
||||||
import android.view.KeyEvent;
|
import android.view.KeyEvent;
|
||||||
@@ -68,6 +69,7 @@ public class AuthCredentialPasswordView extends AuthCredentialView
|
|||||||
protected void onAttachedToWindow() {
|
protected void onAttachedToWindow() {
|
||||||
super.onAttachedToWindow();
|
super.onAttachedToWindow();
|
||||||
|
|
||||||
|
mPasswordField.setTextOperationUser(UserHandle.of(mUserId));
|
||||||
if (mCredentialType == Utils.CREDENTIAL_PIN) {
|
if (mCredentialType == Utils.CREDENTIAL_PIN) {
|
||||||
mPasswordField.setInputType(
|
mPasswordField.setInputType(
|
||||||
InputType.TYPE_CLASS_NUMBER | InputType.TYPE_NUMBER_VARIATION_PASSWORD);
|
InputType.TYPE_CLASS_NUMBER | InputType.TYPE_NUMBER_VARIATION_PASSWORD);
|
||||||
|
|||||||
Reference in New Issue
Block a user