Skip to content

Commit af4f5e8

Browse files
authored
Merge pull request #17030 from wordpress-mobile/issue/16093-autofill-unsafe-intent
Disables: Autofill for sign up and username screens
2 parents 353d144 + 73da86b commit af4f5e8

3 files changed

Lines changed: 4 additions & 1 deletion

File tree

WordPress/src/main/res/layout/signup_epilogue.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
android:layout_height="wrap_content"
4141
android:layout_marginTop="@dimen/margin_extra_large"
4242
android:hint="@string/signup_epilogue_hint_username"
43+
android:importantForAutofill="noExcludeDescendants"
4344
android:inputType="none" />
4445

4546
<org.wordpress.android.login.widgets.WPLoginInputRow
@@ -49,6 +50,7 @@
4950
android:layout_marginTop="@dimen/margin_extra_large"
5051
android:hint="@string/signup_epilogue_hint_password"
5152
android:inputType="textPassword"
53+
android:importantForAutofill="noExcludeDescendants"
5254
android:visibility="gone"
5355
app:passwordToggleEnabled="true"
5456
tools:visibility="visible" />

WordPress/src/main/res/layout/username_changer_dialog_fragment.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
android:layout_toEndOf="@+id/icon"
3939
android:background="@android:color/transparent"
4040
android:digits="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
41+
android:importantForAutofill="noExcludeDescendants"
4142
android:hint="@string/username_changer_hint"
4243
android:paddingTop="@dimen/margin_extra_large"
4344
android:paddingBottom="@dimen/margin_extra_large" />

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ plugins {
99

1010
ext {
1111
wordPressUtilsVersion = '2.7.0'
12-
wordPressLoginVersion = 'trunk-1d609e3a84c84e1c88b59830312e747a50916b7f'
12+
wordPressLoginVersion = 'trunk-657bed28fa735780e3ffcc214503a9e5d1286d6c'
1313
gutenbergMobileVersion = 'v1.81.0'
1414
storiesVersion = '1.4.0'
1515
aboutAutomatticVersion = '0.0.6'

0 commit comments

Comments
 (0)