mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-30 12:32:17 -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();
|
Intent data = new Intent();
|
||||||
data.setData(selectedUri);
|
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);
|
setResult(RESULT_OK, data);
|
||||||
finish();
|
finish();
|
||||||
}
|
}
|
||||||
|
@ -63,7 +63,6 @@ public class SelectSecretKeyLayoutFragment extends Fragment implements LoaderMan
|
|||||||
|
|
||||||
public interface SelectSecretKeyCallback {
|
public interface SelectSecretKeyCallback {
|
||||||
void onKeySelected(long secretKeyId);
|
void onKeySelected(long secretKeyId);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setCallback(SelectSecretKeyCallback callback) {
|
public void setCallback(SelectSecretKeyCallback callback) {
|
||||||
|
Loading…
Reference in New Issue
Block a user