diff options
| author | Matthew Wong <wongma@protonmail.ch> | 2015-12-27 06:00:06 -0500 |
|---|---|---|
| committer | Matthew Wong <wongma@protonmail.ch> | 2015-12-27 06:00:06 -0500 |
| commit | 5cb380bf471c6c7db1d165183296176d564c1ad3 (patch) | |
| tree | ec9af3d86663c8e28955dc1d306b3e8f9f1b0a29 /app/src/main/java/com/zeapo/pwdstore/autofill/AutofillFragment.java | |
| parent | 94ee36a38d3b06422c25613c31b8e01e1ef9c4af (diff) | |
| download | HardenedPass-5cb380bf471c6c7db1d165183296176d564c1ad3.tar.gz HardenedPass-5cb380bf471c6c7db1d165183296176d564c1ad3.zip | |
Don't use ResolveInfo for app settings ui
Diffstat (limited to 'app/src/main/java/com/zeapo/pwdstore/autofill/AutofillFragment.java')
| -rw-r--r-- | app/src/main/java/com/zeapo/pwdstore/autofill/AutofillFragment.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/src/main/java/com/zeapo/pwdstore/autofill/AutofillFragment.java b/app/src/main/java/com/zeapo/pwdstore/autofill/AutofillFragment.java index e4986354..4a5a37cd 100644 --- a/app/src/main/java/com/zeapo/pwdstore/autofill/AutofillFragment.java +++ b/app/src/main/java/com/zeapo/pwdstore/autofill/AutofillFragment.java @@ -38,6 +38,8 @@ public class AutofillFragment extends DialogFragment { // need to interact with the recyclerAdapter which is a member of activity final AutofillPreferenceActivity callingActivity = (AutofillPreferenceActivity) getActivity(); LayoutInflater inflater = callingActivity.getLayoutInflater(); + + // if... hide textview final View view = inflater.inflate(R.layout.fragment_autofill, null); builder.setView(view); @@ -74,6 +76,7 @@ public class AutofillFragment extends DialogFragment { } }); + // if... autofill_web SharedPreferences prefs = getActivity().getApplicationContext().getSharedPreferences("autofill", Context.MODE_PRIVATE); String preference = prefs.getString(packageName, ""); |
