Fixed a bug with detection

Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
Mario Danic 2018-04-11 16:38:41 +02:00 committed by AndyScherzinger
parent 19195b2314
commit 37b3f6f04c
No known key found for this signature in database
GPG key ID: 6CADC7E3523C308B

View file

@ -82,9 +82,9 @@ public class SyncedFolderProvider extends Observable {
int count = 0;
Cursor cursor = mContentResolver.query(
ProviderMeta.ProviderTableMeta.CONTENT_URI_SYNCED_FOLDERS,
new String[]{ProviderMeta.ProviderTableMeta.SYNCED_FOLDER_ENABLED},
ProviderMeta.ProviderTableMeta.SYNCED_FOLDER_ENABLED + " == 1",
null,
ProviderMeta.ProviderTableMeta.SYNCED_FOLDER_ENABLED + " = ?",
new String[]{"1"},
null
);