Skip to content

Commit 7f4b9f4

Browse files
committed
[11170] Turn off auto-suggestion in Android native password fields
1 parent 01d2f32 commit 7f4b9f4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

engine/src/java/com/runrev/android/nativecontrol/InputControl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ public void setIsPassword(boolean p_password)
247247
{
248248
m_transformation_method = m_text_view.getTransformationMethod();
249249
m_text_view.setTransformationMethod(PasswordTransformationMethod.getInstance());
250-
m_text_view.setInputType(InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS);
250+
m_text_view.setInputType(InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS | InputType.TYPE_TEXT_VARIATION_PASSWORD);
251251
}
252252
else if (!p_password && m_transformation_method != null)
253253
{

0 commit comments

Comments
 (0)