diff options
| author | Daniel Ramos <hiperzone@gmail.com> | 2015-04-26 19:11:51 +0100 | 
|---|---|---|
| committer | Daniel Ramos <hiperzone@gmail.com> | 2015-04-26 19:11:51 +0100 | 
| commit | c0fbafde688f2f60f475121bf8c8b8ef2a59ce6d (patch) | |
| tree | 8635997b1934d02d6594e5328e330ccb7d0b6739 /OpenKeychain/src/main/java/org/sufficientlysecure | |
| parent | 08d25f3685cffb7402bb6dd824bc0666bfe9a1c2 (diff) | |
| download | open-keychain-c0fbafde688f2f60f475121bf8c8b8ef2a59ce6d.tar.gz open-keychain-c0fbafde688f2f60f475121bf8c8b8ef2a59ce6d.tar.bz2 open-keychain-c0fbafde688f2f60f475121bf8c8b8ef2a59ce6d.zip | |
-Removed unneeded view references from the fragment class since they are not used outside of createView.
-cleanup
Diffstat (limited to 'OpenKeychain/src/main/java/org/sufficientlysecure')
| -rw-r--r-- | OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/CreateKeyEmailFragment.java | 10 | 
1 files changed, 3 insertions, 7 deletions
| diff --git a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/CreateKeyEmailFragment.java b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/CreateKeyEmailFragment.java index 473383e22..035945af3 100644 --- a/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/CreateKeyEmailFragment.java +++ b/OpenKeychain/src/main/java/org/sufficientlysecure/keychain/ui/CreateKeyEmailFragment.java @@ -49,9 +49,6 @@ import java.util.regex.Pattern;  public class CreateKeyEmailFragment extends Fragment {      private CreateKeyActivity mCreateKeyActivity;      private EmailEditText mEmailEdit; -    private RecyclerView mEmailsRecyclerView; -    private View mBackButton; -    private View mNextButton;      private ArrayList<EmailAdapter.ViewModel> mAdditionalEmailModels;      private EmailAdapter mEmailAdapter; @@ -92,9 +89,9 @@ public class CreateKeyEmailFragment extends Fragment {          View view = inflater.inflate(R.layout.create_key_email_fragment, container, false);          mEmailEdit = (EmailEditText) view.findViewById(R.id.create_key_email); -        mBackButton = view.findViewById(R.id.create_key_back_button); -        mNextButton = view.findViewById(R.id.create_key_next_button); -        mEmailsRecyclerView = (RecyclerView) view.findViewById(R.id.create_key_emails); +        View mBackButton = view.findViewById(R.id.create_key_back_button); +        View mNextButton = view.findViewById(R.id.create_key_next_button); +        RecyclerView mEmailsRecyclerView = (RecyclerView) view.findViewById(R.id.create_key_emails);          // initial values          mEmailEdit.setText(mCreateKeyActivity.mEmail); @@ -222,7 +219,6 @@ public class CreateKeyEmailFragment extends Fragment {          Messenger messenger =  new Messenger(returnHandler);          AddEmailDialogFragment addEmailDialog = AddEmailDialogFragment.newInstance(messenger); -        addEmailDialog.setTargetFragment(this, -1);          addEmailDialog.show(getActivity().getSupportFragmentManager(), "addEmailDialog");      } | 
