Merge "Disable handwriting initiation for password fields"

This commit is contained in:
Justin Ghan
2022-09-27 20:59:51 +00:00
committed by Android (Google) Code Review

View File

@@ -12221,6 +12221,11 @@ public class TextView extends View implements ViewTreeObserver.OnPreDrawListener
}
}
@Override
public boolean isAutoHandwritingEnabled() {
return super.isAutoHandwritingEnabled() && !isAnyPasswordInputType();
}
/** @hide */
@Override
public boolean isStylusHandwritingAvailable() {