mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-27 11:12:15 -05:00
Rename for consistency
This commit is contained in:
parent
8de6589c9d
commit
d2998ea80d
@ -20,7 +20,6 @@ package org.sufficientlysecure.keychain.ui;
|
|||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
import android.support.v4.app.Fragment;
|
import android.support.v4.app.Fragment;
|
||||||
import android.support.v4.app.FragmentManager;
|
|
||||||
import android.support.v4.app.FragmentTransaction;
|
import android.support.v4.app.FragmentTransaction;
|
||||||
|
|
||||||
import org.sufficientlysecure.keychain.R;
|
import org.sufficientlysecure.keychain.R;
|
||||||
@ -84,7 +83,7 @@ public class CreateKeyActivity extends BaseNfcActivity {
|
|||||||
String nfcUserId = intent.getStringExtra(EXTRA_NFC_USER_ID);
|
String nfcUserId = intent.getStringExtra(EXTRA_NFC_USER_ID);
|
||||||
byte[] nfcAid = intent.getByteArrayExtra(EXTRA_NFC_AID);
|
byte[] nfcAid = intent.getByteArrayExtra(EXTRA_NFC_AID);
|
||||||
|
|
||||||
Fragment frag2 = CreateKeyYubiImportFragment.createInstance(
|
Fragment frag2 = CreateKeyYubiKeyImportFragment.createInstance(
|
||||||
nfcFingerprints, nfcAid, nfcUserId);
|
nfcFingerprints, nfcAid, nfcUserId);
|
||||||
loadFragment(frag2, FragAction.START);
|
loadFragment(frag2, FragAction.START);
|
||||||
|
|
||||||
@ -131,7 +130,7 @@ public class CreateKeyActivity extends BaseNfcActivity {
|
|||||||
finish();
|
finish();
|
||||||
|
|
||||||
} catch (PgpKeyNotFoundException e) {
|
} catch (PgpKeyNotFoundException e) {
|
||||||
Fragment frag = CreateKeyYubiImportFragment.createInstance(
|
Fragment frag = CreateKeyYubiKeyImportFragment.createInstance(
|
||||||
scannedFingerprints, nfcAid, userId);
|
scannedFingerprints, nfcAid, userId);
|
||||||
loadFragment(frag, FragAction.TO_RIGHT);
|
loadFragment(frag, FragAction.TO_RIGHT);
|
||||||
}
|
}
|
||||||
|
@ -48,7 +48,7 @@ import org.sufficientlysecure.keychain.ui.util.KeyFormattingUtils;
|
|||||||
import org.sufficientlysecure.keychain.util.Preferences;
|
import org.sufficientlysecure.keychain.util.Preferences;
|
||||||
|
|
||||||
|
|
||||||
public class CreateKeyYubiImportFragment extends Fragment implements NfcListenerFragment {
|
public class CreateKeyYubiKeyImportFragment extends Fragment implements NfcListenerFragment {
|
||||||
|
|
||||||
private static final String ARG_FINGERPRINT = "fingerprint";
|
private static final String ARG_FINGERPRINT = "fingerprint";
|
||||||
public static final String ARG_AID = "aid";
|
public static final String ARG_AID = "aid";
|
||||||
@ -67,7 +67,7 @@ public class CreateKeyYubiImportFragment extends Fragment implements NfcListener
|
|||||||
|
|
||||||
public static Fragment createInstance(byte[] scannedFingerprints, byte[] nfcAid, String userId) {
|
public static Fragment createInstance(byte[] scannedFingerprints, byte[] nfcAid, String userId) {
|
||||||
|
|
||||||
CreateKeyYubiImportFragment frag = new CreateKeyYubiImportFragment();
|
CreateKeyYubiKeyImportFragment frag = new CreateKeyYubiKeyImportFragment();
|
||||||
|
|
||||||
Bundle args = new Bundle();
|
Bundle args = new Bundle();
|
||||||
args.putByteArray(ARG_FINGERPRINT, scannedFingerprints);
|
args.putByteArray(ARG_FINGERPRINT, scannedFingerprints);
|
Loading…
Reference in New Issue
Block a user