Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

[11170] Turn off auto-suggestion in Android native password fields#7359

Merged
livecodepanos merged 1 commit into
livecode:develop-9.6from
livecodepanos:bugfix-11170_2
Jun 2, 2020
Merged

[11170] Turn off auto-suggestion in Android native password fields#7359
livecodepanos merged 1 commit into
livecode:develop-9.6from
livecodepanos:bugfix-11170_2

Conversation

@livecodepanos

Copy link
Copy Markdown
Contributor

Before this patch:

before

After:

after

@livecodepanos livecodepanos added this to the 9.6.1-rc-1 milestone May 15, 2020
m_transformation_method = m_text_view.getTransformationMethod();
m_text_view.setTransformationMethod(PasswordTransformationMethod.getInstance());
m_text_view.setInputType(InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS);
m_text_view.setInputType(InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS | InputType.TYPE_TEXT_VARIATION_VISIBLE_PASSWORD);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why use TYPE_TEXT_VARIATION_VISIBLE_PASSWORD instead of TYPE_TEXT_VARIATION_PASSWORD here?
Don't we want the contents to be hidden from the user?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@livecodeian PR Updated :)

@livecodeian

Copy link
Copy Markdown
Contributor

@livecode-vulcan review ok 7f4b9f4

@livecode-vulcan

Copy link
Copy Markdown
Contributor

💙 review by @livecodeian ok 7f4b9f4

@livecodepanos

Copy link
Copy Markdown
Contributor Author

The vulcan checks have successfully finished 30 mins ago, not sure why it still says "pending"

@livecodepanos livecodepanos merged commit cd7d1b7 into livecode:develop-9.6 Jun 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants