diff options
author | Tim Bray <timbray@gmail.com> | 2014-05-04 17:16:58 -0700 |
---|---|---|
committer | Tim Bray <timbray@gmail.com> | 2014-05-04 17:16:58 -0700 |
commit | 90b4db07925ec4741fedfa75eed4ed6acc533696 (patch) | |
tree | ccd4b9055b914a017befbe745d6dde7097df6c0f /OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/ImportKeysKeybaseFragment.java | |
parent | 5b0f19fcebd586235be7c895769ccb111c97e78e (diff) | |
download | open-keychain-90b4db07925ec4741fedfa75eed4ed6acc533696.tar.gz open-keychain-90b4db07925ec4741fedfa75eed4ed6acc533696.tar.bz2 open-keychain-90b4db07925ec4741fedfa75eed4ed6acc533696.zip |
Per pull-request comments.
Diffstat (limited to 'OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/ImportKeysKeybaseFragment.java')
-rw-r--r-- | OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/ImportKeysKeybaseFragment.java | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/ImportKeysKeybaseFragment.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/ImportKeysKeybaseFragment.java index 7ae57cec3..a996079c9 100644 --- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/ImportKeysKeybaseFragment.java +++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/ImportKeysKeybaseFragment.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2014 Dominik Schürmann <dominik@dominikschuermann.de> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + package org.sufficientlysecure.keychain.ui; import android.content.Context; @@ -29,7 +46,6 @@ public class ImportKeysKeybaseFragment extends Fragment { private EditText mQueryEditText; public static final String ARG_QUERY = "query"; - public static final String ARG_DISABLE_QUERY_EDIT = "disable_query_edit"; /** * Creates new instance of this fragment @@ -95,10 +111,6 @@ public class ImportKeysKeybaseFragment extends Fragment { String query = getArguments().getString(ARG_QUERY); mQueryEditText.setText(query, TextView.BufferType.EDITABLE); } - - if (getArguments().getBoolean(ARG_DISABLE_QUERY_EDIT, false)) { - mQueryEditText.setEnabled(false); - } } } |