diff options
author | Vincent Breitmoser <valodim@mugenguild.com> | 2015-04-24 19:16:15 +0200 |
---|---|---|
committer | Vincent Breitmoser <valodim@mugenguild.com> | 2015-04-24 19:17:08 +0200 |
commit | 9c174ff71dd5cf0bfdb1ae22d41abeda25eef913 (patch) | |
tree | ffe5db2388096a84d3a921b094d5089e41f17388 /OpenKeychain/src/main/java | |
parent | 96853a15ee535860fd789bc5be4979f2205e959c (diff) | |
download | open-keychain-9c174ff71dd5cf0bfdb1ae22d41abeda25eef913.tar.gz open-keychain-9c174ff71dd5cf0bfdb1ae22d41abeda25eef913.tar.bz2 open-keychain-9c174ff71dd5cf0bfdb1ae22d41abeda25eef913.zip |
fix encrypt activity layout
Diffstat (limited to 'OpenKeychain/src/main/java')
-rw-r--r-- | OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/widget/EncryptKeyCompletionView.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/widget/EncryptKeyCompletionView.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/widget/EncryptKeyCompletionView.java index b2dfb2493..3d2e8b9df 100644 --- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/widget/EncryptKeyCompletionView.java +++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/widget/EncryptKeyCompletionView.java @@ -108,9 +108,8 @@ public class EncryptKeyCompletionView extends TokenCompleteTextView protected void onAttachedToWindow() { super.onAttachedToWindow(); - mLoaderManager = ((FragmentActivity) getContext()).getSupportLoaderManager(); - if (getContext() instanceof FragmentActivity) { + mLoaderManager = ((FragmentActivity) getContext()).getSupportLoaderManager(); mLoaderManager.initLoader(hashCode(), null, this); } else { Log.e(Constants.TAG, "EncryptKeyCompletionView must be attached to a FragmentActivity, this is " + getContext().getClass()); |