Redesigned subkey creation dialog and changed default key type created to RSA, 3072 bit.
Added code to prevent removal of master subkey when modifying a new key.
This commit is contained in:
@@ -18,12 +18,15 @@
|
||||
package org.sufficientlysecure.keychain.util;
|
||||
|
||||
public class Choice <E> {
|
||||
|
||||
private String mName;
|
||||
private E mId;
|
||||
private String mDescription;
|
||||
|
||||
public Choice(E id, String name) {
|
||||
public Choice(E id, String name, String description) {
|
||||
mId = id;
|
||||
mName = name;
|
||||
mDescription = description;
|
||||
}
|
||||
|
||||
public E getId() {
|
||||
@@ -34,6 +37,10 @@ public class Choice <E> {
|
||||
return mName;
|
||||
}
|
||||
|
||||
public String getDescription() {
|
||||
return mDescription;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return mName;
|
||||
|
||||
Reference in New Issue
Block a user