summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormohammadnaseri <mohammad.naseri1992@gmail.com>2017-12-27 22:01:47 +0100
committerMohamed Zenadi <zeapo@users.noreply.github.com>2017-12-27 22:01:47 +0100
commit770788fe673dabf0411917bf9ed0696f11ae5eae (patch)
tree7bee72cd62f527e8418b60fd0442f88b4844c57b
parente41287cb164b734dd19dc63d88235dd75509547d (diff)
Password should be invisible to the accessibility services (#362)
-rw-r--r--app/src/main/res/layout/fragment_ssh_keygen.xml1
-rw-r--r--app/src/main/res/layout/git_passphrase_layout.xml1
2 files changed, 2 insertions, 0 deletions
diff --git a/app/src/main/res/layout/fragment_ssh_keygen.xml b/app/src/main/res/layout/fragment_ssh_keygen.xml
index 5f09e401..7ad3b951 100644
--- a/app/src/main/res/layout/fragment_ssh_keygen.xml
+++ b/app/src/main/res/layout/fragment_ssh_keygen.xml
@@ -35,6 +35,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/ssh_keygen_passphrase"
+ android:importantForAccessibility="no"
android:inputType="textPassword" />
</android.support.design.widget.TextInputLayout>
diff --git a/app/src/main/res/layout/git_passphrase_layout.xml b/app/src/main/res/layout/git_passphrase_layout.xml
index 95a0853f..6edd3d02 100644
--- a/app/src/main/res/layout/git_passphrase_layout.xml
+++ b/app/src/main/res/layout/git_passphrase_layout.xml
@@ -15,6 +15,7 @@
android:layout_marginTop="8dp"
android:ems="10"
android:inputType="textPassword"
+ android:importantForAccessibility="no"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />