Support stable ids in chip adapters
This commit is contained in:
@@ -40,6 +40,11 @@ public class EncryptRecipientChipsInput extends ChipsInput<EncryptRecipientChip>
|
||||
this.keyInfo = keyInfo;
|
||||
}
|
||||
|
||||
@Override
|
||||
public long getId() {
|
||||
return keyInfo.master_key_id();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isKeptForConstraint(CharSequence constraint) {
|
||||
return keyInfo.uidSearchString().contains(constraint);
|
||||
|
||||
Reference in New Issue
Block a user