diff options
| author | 2020-04-15 23:37:53 +0000 | |
|---|---|---|
| committer | 2020-04-15 23:37:53 +0000 | |
| commit | 176c70efef2bade88e5690c4d46811adb27f480f (patch) | |
| tree | 4f5d1509fe254bd5f333a2358dd06889f563295e | |
| parent | c52300ea49bcdd8c0921047db3dfe9f9e776adcd (diff) | |
| parent | fc0040dc9f27e00b5310dbb367d4e5e89cb00805 (diff) | |
Merge "BiometricPrompt should setTextOperationUser" into rvc-dev
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/biometrics/AuthCredentialPasswordView.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/biometrics/AuthCredentialPasswordView.java b/packages/SystemUI/src/com/android/systemui/biometrics/AuthCredentialPasswordView.java index d8a11d36a335..e6a62c26712a 100644 --- a/packages/SystemUI/src/com/android/systemui/biometrics/AuthCredentialPasswordView.java +++ b/packages/SystemUI/src/com/android/systemui/biometrics/AuthCredentialPasswordView.java @@ -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); |