nullpointer check in KeychainProvider

This commit is contained in:
Dominik Schürmann 2014-09-11 13:16:35 +02:00
parent 6eb715a5d9
commit 51d6ad4394

View File

@ -281,7 +281,7 @@ public class KeychainProvider extends ContentProvider {
qb.setProjectionMap(projectionMap);
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