aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/java/com/zeapo/pwdstore/autofill/AutofillService.java
diff options
context:
space:
mode:
authorMatthew Wong <wongma@protonmail.ch>2015-08-14 16:51:39 -0400
committerMatthew Wong <wongma@protonmail.ch>2015-08-14 17:38:18 -0400
commitebe1f831e7659b63b76c2b39498b68d1fec61673 (patch)
tree7a74bb999bb882f27bf8e0e31a082f6df10bd0ea /app/src/main/java/com/zeapo/pwdstore/autofill/AutofillService.java
parentb1807197f85c4d6ceccc3ca23654bb184f9caa13 (diff)
downloadHardenedPass-ebe1f831e7659b63b76c2b39498b68d1fec61673.tar.gz
HardenedPass-ebe1f831e7659b63b76c2b39498b68d1fec61673.zip
strings & enable service preference
Diffstat (limited to 'app/src/main/java/com/zeapo/pwdstore/autofill/AutofillService.java')
-rw-r--r--app/src/main/java/com/zeapo/pwdstore/autofill/AutofillService.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/src/main/java/com/zeapo/pwdstore/autofill/AutofillService.java b/app/src/main/java/com/zeapo/pwdstore/autofill/AutofillService.java
index 1e64e8c8..cd318394 100644
--- a/app/src/main/java/com/zeapo/pwdstore/autofill/AutofillService.java
+++ b/app/src/main/java/com/zeapo/pwdstore/autofill/AutofillService.java
@@ -152,8 +152,8 @@ public class AutofillService extends AccessibilityService {
if (dialog == null) {
AlertDialog.Builder builder = new AlertDialog.Builder(this, R.style.Theme_AppCompat_Dialog);
- builder.setNegativeButton("Cancel", null);
- builder.setPositiveButton("Fill", new DialogInterface.OnClickListener() {
+ builder.setNegativeButton(R.string.dialog_cancel, null);
+ builder.setPositiveButton(R.string.autofill_fill, new DialogInterface.OnClickListener() {
@Override
public void onClick(DialogInterface dialog, int which) {
decryptAndVerify();
@@ -161,7 +161,7 @@ public class AutofillService extends AccessibilityService {
});
builder.setNeutralButton("Settings", new DialogInterface.OnClickListener() {
@Override
- public void onClick(DialogInterface dialog, int which) {
+ public void onClick(DialogInterface dialog, int which) { //TODO make icon? gear?
// the user will have to return to the app themselves.
Intent intent = new Intent(AutofillService.this, AutofillPreferenceActivity.class);
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK);