nullpointer check in KeychainProvider
This commit is contained in:
parent
6eb715a5d9
commit
51d6ad4394
|
@ -281,7 +281,7 @@ public class KeychainProvider extends ContentProvider {
|
||||||
qb.setProjectionMap(projectionMap);
|
qb.setProjectionMap(projectionMap);
|
||||||
|
|
||||||
if (projection == null) {
|
if (projection == null) {
|
||||||
Log.e(Constants.TAG, "Please provide a projection!");
|
throw new IllegalArgumentException("Please provide a projection!");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Need this as list so we can search in it
|
// Need this as list so we can search in it
|
||||||
|
|
Loading…
Reference in a new issue