Fix a nullptr in KeychainProvider

Fixes #589
This commit is contained in:
Vincent Breitmoser 2014-04-20 20:54:40 +02:00
parent 7017a01bdb
commit 283e3c3365

View File

@ -691,7 +691,7 @@ public class KeychainProvider extends ContentProvider {
public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) {
Log.v(Constants.TAG, "update(uri=" + uri + ", values=" + values.toString() + ")");
final SQLiteDatabase db = mKeychainDatabase.getWritableDatabase();
final SQLiteDatabase db = getDb().getWritableDatabase();
int count = 0;
try {