use notification uris mostly correctly
This commit is contained in:
@@ -100,7 +100,7 @@ public class RemoteDeduplicateActivity extends FragmentActivity {
|
||||
|
||||
public LiveData<List<UnifiedKeyInfo>> getKeyInfoLiveData(Context context) {
|
||||
if (keyInfoLiveData == null) {
|
||||
keyInfoLiveData = new GenericLiveData<>(context, null, () -> {
|
||||
keyInfoLiveData = new GenericLiveData<>(context, () -> {
|
||||
KeyRepository keyRepository = KeyRepository.create(context);
|
||||
return keyRepository.getUnifiedKeyInfosByMailAddress(duplicateAddress);
|
||||
});
|
||||
|
||||
@@ -106,7 +106,7 @@ public class RemoteSelectAuthenticationKeyActivity extends FragmentActivity {
|
||||
|
||||
public LiveData<List<UnifiedKeyInfo>> getKeyInfoLiveData(Context context) {
|
||||
if (keyInfoLiveData == null) {
|
||||
keyInfoLiveData = new GenericLiveData<>(context, null, () -> {
|
||||
keyInfoLiveData = new GenericLiveData<>(context, () -> {
|
||||
KeyRepository keyRepository = KeyRepository.create(context);
|
||||
return keyRepository.getAllUnifiedKeyInfoWithSecret();
|
||||
});
|
||||
|
||||
@@ -135,7 +135,7 @@ public class RemoteSelectIdKeyActivity extends FragmentActivity {
|
||||
public LiveData<List<UnifiedKeyInfo>> getSecretUnifiedKeyInfo(Context context) {
|
||||
if (keyInfo == null) {
|
||||
KeyRepository keyRepository = KeyRepository.create(context);
|
||||
keyInfo = new GenericLiveData<>(context, null, keyRepository::getAllUnifiedKeyInfoWithSecret);
|
||||
keyInfo = new GenericLiveData<>(context, keyRepository::getAllUnifiedKeyInfoWithSecret);
|
||||
}
|
||||
return keyInfo;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user