Fix YubiKey import

This commit is contained in:
Dominik Schürmann
2015-07-08 14:14:39 +02:00
parent 1ffcffae15
commit 4760f3f260

View File

@@ -180,17 +180,17 @@ public class CreateKeyActivity extends BaseNfcActivity {
finish(); finish();
} catch (PgpKeyNotFoundException e) { } catch (PgpKeyNotFoundException e) {
// Fragment frag = CreateYubiKeyImportFragment.newInstance( Fragment frag = CreateYubiKeyImportFragment.newInstance(
// mScannedFingerprints, mNfcAid, mNfcUserId); mScannedFingerprints, mNfcAid, mNfcUserId);
// loadFragment(frag, FragAction.TO_RIGHT); loadFragment(frag, FragAction.TO_RIGHT);
Notify.create(this,
"YubiKey key creation is currently not supported. Please follow our FAQ.",
Notify.Style.ERROR
).show();
} }
} else { } else {
Fragment frag = CreateYubiKeyBlankFragment.newInstance(); // Fragment frag = CreateYubiKeyBlankFragment.newInstance();
loadFragment(frag, FragAction.TO_RIGHT); // loadFragment(frag, FragAction.TO_RIGHT);
Notify.create(this,
"YubiKey key creation is currently not supported. Please follow our FAQ.",
Notify.Style.ERROR
).show();
} }
} }