mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-27 11:12:15 -05:00
Cleanup for #451
This commit is contained in:
parent
0a8b45ee88
commit
016641a422
@ -76,10 +76,6 @@ public class SelectSecretKeyActivity extends ActionBarActivity {
|
||||
Intent data = new Intent();
|
||||
data.setData(selectedUri);
|
||||
|
||||
// TODO: deprecate RESULT_EXTRA_MASTER_KEY_ID!
|
||||
long masterKeyId = Long.valueOf(selectedUri.getLastPathSegment());
|
||||
data.putExtra(RESULT_EXTRA_MASTER_KEY_ID, masterKeyId);
|
||||
|
||||
setResult(RESULT_OK, data);
|
||||
finish();
|
||||
}
|
||||
|
@ -63,7 +63,6 @@ public class SelectSecretKeyLayoutFragment extends Fragment implements LoaderMan
|
||||
|
||||
public interface SelectSecretKeyCallback {
|
||||
void onKeySelected(long secretKeyId);
|
||||
|
||||
}
|
||||
|
||||
public void setCallback(SelectSecretKeyCallback callback) {
|
||||
|
Loading…
Reference in New Issue
Block a user