Extend documentation, proper method naming, use of deprecated method annotation
This commit is contained in:
@@ -400,6 +400,10 @@ public class ImportKeysActivity extends BaseActivity
|
||||
super.onActivityResult(requestCode, resultCode, data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines how the result of this activity is returned.
|
||||
* Is overwritten in RemoteImportKeysActivity
|
||||
*/
|
||||
protected void handleResult(ImportKeyResult result) {
|
||||
String intentAction = getIntent().getAction();
|
||||
|
||||
|
||||
@@ -514,6 +514,10 @@ public class PassphraseDialogActivity extends FragmentActivity {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines how the result of this activity is returned.
|
||||
* Is overwritten in RemotePassphraseDialogActivity
|
||||
*/
|
||||
protected void handleResult(CryptoInputParcel inputParcel) {
|
||||
// also return passphrase back to activity
|
||||
Intent returnIntent = new Intent();
|
||||
|
||||
@@ -267,7 +267,7 @@ public class SecurityTokenOperationActivity extends BaseSecurityTokenNfcActivity
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onNfcPostExecute() {
|
||||
protected final void onNfcPostExecute() {
|
||||
handleResult(mInputParcel);
|
||||
|
||||
// show finish
|
||||
@@ -299,6 +299,10 @@ public class SecurityTokenOperationActivity extends BaseSecurityTokenNfcActivity
|
||||
}.execute();
|
||||
}
|
||||
|
||||
/**
|
||||
* Defines how the result of this activity is returned.
|
||||
* Is overwritten in RemoteSecurityTokenOperationActivity
|
||||
*/
|
||||
protected void handleResult(CryptoInputParcel inputParcel) {
|
||||
Intent result = new Intent();
|
||||
// send back the CryptoInputParcel we received
|
||||
|
||||
Reference in New Issue
Block a user