Support stable ids in chip adapters
This commit is contained in:
1 parent
d0a9cea74e
commit
5c13b21577
5 files changed
+25
-6
No files matched your search
+5
@@ -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