fix table reference
This commit is contained in:
@@ -25,6 +25,7 @@ import android.content.Context;
|
|||||||
import android.database.Cursor;
|
import android.database.Cursor;
|
||||||
|
|
||||||
import org.sufficientlysecure.keychain.provider.KeychainContract.UpdatedKeys;
|
import org.sufficientlysecure.keychain.provider.KeychainContract.UpdatedKeys;
|
||||||
|
import org.sufficientlysecure.keychain.provider.KeychainDatabase.Tables;
|
||||||
import timber.log.Timber;
|
import timber.log.Timber;
|
||||||
|
|
||||||
|
|
||||||
@@ -50,7 +51,7 @@ public class KeyserverStatusDao {
|
|||||||
|
|
||||||
public KeyserverStatus getKeyserverStatus(long masterKeyId) {
|
public KeyserverStatus getKeyserverStatus(long masterKeyId) {
|
||||||
Cursor cursor = contentResolver.query(UpdatedKeys.CONTENT_URI, PROJECTION,
|
Cursor cursor = contentResolver.query(UpdatedKeys.CONTENT_URI, PROJECTION,
|
||||||
UpdatedKeys.MASTER_KEY_ID + " = ?", new String[] { Long.toString(masterKeyId) }, null);
|
Tables.UPDATED_KEYS + "." + UpdatedKeys.MASTER_KEY_ID + " = ?", new String[] { Long.toString(masterKeyId) }, null);
|
||||||
if (cursor == null) {
|
if (cursor == null) {
|
||||||
Timber.e("Error loading key items!");
|
Timber.e("Error loading key items!");
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
Reference in New Issue
Block a user