Remove unnecessary selection predicate
This commit is contained in:
@@ -82,7 +82,7 @@ class RemoteSelectAuthenticationKeyPresenter implements LoaderCallbacks<List<Key
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Loader<List<KeyInfo>> onCreateLoader(int id, Bundle args) {
|
public Loader<List<KeyInfo>> onCreateLoader(int id, Bundle args) {
|
||||||
String selection = KeyRings.HAS_ANY_SECRET + " != 0 AND " + KeyRings.HAS_AUTHENTICATE_SECRET + " != 0";
|
String selection = KeyRings.HAS_AUTHENTICATE_SECRET + " != 0";
|
||||||
KeySelector keySelector = KeySelector.create(
|
KeySelector keySelector = KeySelector.create(
|
||||||
KeyRings.buildUnifiedKeyRingsUri(), selection);
|
KeyRings.buildUnifiedKeyRingsUri(), selection);
|
||||||
return new KeyLoader(context, context.getContentResolver(), keySelector);
|
return new KeyLoader(context, context.getContentResolver(), keySelector);
|
||||||
|
|||||||
Reference in New Issue
Block a user