mirror of
https://github.com/moparisthebest/open-keychain
synced 2025-01-11 21:48:17 -05:00
Fix certify with CryptoInputParcel
This commit is contained in:
parent
5e024bba2e
commit
1ef63f3187
@ -164,7 +164,7 @@ public class CertifyKeyFragment extends CryptoOperationFragment
|
|||||||
Notify.create(getActivity(), getString(R.string.select_key_to_certify),
|
Notify.create(getActivity(), getString(R.string.select_key_to_certify),
|
||||||
Notify.Style.ERROR).show();
|
Notify.Style.ERROR).show();
|
||||||
} else {
|
} else {
|
||||||
cryptoOperation(null);
|
cryptoOperation(new CryptoInputParcel());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -151,7 +151,7 @@ public class EditKeyFragment extends CryptoOperationFragment implements
|
|||||||
if (mDataUri == null) {
|
if (mDataUri == null) {
|
||||||
returnKeyringParcel();
|
returnKeyringParcel();
|
||||||
} else {
|
} else {
|
||||||
cryptoOperation(new CryptoInputParcel(new Date()));
|
cryptoOperation(new CryptoInputParcel());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, new OnClickListener() {
|
}, new OnClickListener() {
|
||||||
|
@ -37,10 +37,6 @@ import java.util.regex.Matcher;
|
|||||||
|
|
||||||
public class EncryptDecryptOverviewFragment extends Fragment {
|
public class EncryptDecryptOverviewFragment extends Fragment {
|
||||||
|
|
||||||
View mEncryptFile;
|
|
||||||
View mEncryptText;
|
|
||||||
View mDecryptFile;
|
|
||||||
View mDecryptFromClipboard;
|
|
||||||
View mClipboardIcon;
|
View mClipboardIcon;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -53,10 +49,10 @@ public class EncryptDecryptOverviewFragment extends Fragment {
|
|||||||
public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
|
public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
|
||||||
View view = inflater.inflate(R.layout.encrypt_decrypt_overview_fragment, container, false);
|
View view = inflater.inflate(R.layout.encrypt_decrypt_overview_fragment, container, false);
|
||||||
|
|
||||||
mEncryptFile = view.findViewById(R.id.encrypt_files);
|
View mEncryptFile = view.findViewById(R.id.encrypt_files);
|
||||||
mEncryptText = view.findViewById(R.id.encrypt_text);
|
View mEncryptText = view.findViewById(R.id.encrypt_text);
|
||||||
mDecryptFile = view.findViewById(R.id.decrypt_files);
|
View mDecryptFile = view.findViewById(R.id.decrypt_files);
|
||||||
mDecryptFromClipboard = view.findViewById(R.id.decrypt_from_clipboard);
|
View mDecryptFromClipboard = view.findViewById(R.id.decrypt_from_clipboard);
|
||||||
mClipboardIcon = view.findViewById(R.id.clipboard_icon);
|
mClipboardIcon = view.findViewById(R.id.clipboard_icon);
|
||||||
|
|
||||||
mEncryptFile.setOnClickListener(new View.OnClickListener() {
|
mEncryptFile.setOnClickListener(new View.OnClickListener() {
|
||||||
|
Loading…
Reference in New Issue
Block a user