Disable handwriting initiation for password fields
Bug: 222375667 Test: atest android.widget.cts.TextViewTest Change-Id: I93274c14ec607f5b09fc483133cc83e618d9ce3b
This commit is contained in:
@@ -12049,6 +12049,11 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isAutoHandwritingEnabled() {
|
||||
return super.isAutoHandwritingEnabled() && !isAnyPasswordInputType();
|
||||
}
|
||||
|
||||
/** @hide */
|
||||
@Override
|
||||
public boolean isStylusHandwritingAvailable() {
|
||||
|
||||
Reference in New Issue
Block a user