summaryrefslogtreecommitdiff
path: root/app/src/main/java
diff options
context:
space:
mode:
authorMatthew Wong <wongma@protonmail.ch>2015-12-30 00:22:53 -0500
committerMatthew Wong <wongma@protonmail.ch>2015-12-30 00:22:53 -0500
commit5263ed10bbca73d8c454c4c37a7589b894977f75 (patch)
tree2dada32cce1deece3e5c3d6690710fa2e6fae82e /app/src/main/java
parent8c884bcba8a39531dc5c16dab2caebf11760708c (diff)
Fix string
Diffstat (limited to 'app/src/main/java')
-rw-r--r--app/src/main/java/com/zeapo/pwdstore/autofill/AutofillFragment.java3
1 files changed, 2 insertions, 1 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 1c4c2076..123f4dc4 100644
--- a/app/src/main/java/com/zeapo/pwdstore/autofill/AutofillFragment.java
+++ b/app/src/main/java/com/zeapo/pwdstore/autofill/AutofillFragment.java
@@ -40,7 +40,8 @@ public class AutofillFragment extends DialogFragment {
final AutofillPreferenceActivity callingActivity = (AutofillPreferenceActivity) getActivity();
LayoutInflater inflater = callingActivity.getLayoutInflater();
- final View view = inflater.inflate(R.layout.fragment_autofill, null);
+ final View view = View.inflate(callingActivity.getApplicationContext()
+ , R.layout.fragment_autofill, null);
builder.setView(view);