Cleanup for #451

This commit is contained in:
Nikhil Peter Raj 2014-03-20 23:46:26 +05:30
parent 0a8b45ee88
commit 016641a422
2 changed files with 0 additions and 5 deletions

View File

@ -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();
} }

View File

@ -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) {