Loading app/src/main/java/foundation/e/drive/database/DbHelper.java +1 −2 Original line number Diff line number Diff line Loading @@ -322,9 +322,8 @@ public final class DbHelper extends SQLiteOpenHelper { * @return true if there is at least one file to download */ public static boolean syncedFolderHasContentToDownload(int syncedFolderId, Context context) { final SyncedFileStateDAO dao; try { dao = openSyncedFileStateDAO(context, false); SyncedFileStateDAO dao = openSyncedFileStateDAO(context, false); return dao.countFileWaitingForDownloadForSyncedFolder(syncedFolderId) > 0; } catch (SQLiteException e) { Log.e(TAG, "SQLite error", e); Loading Loading
app/src/main/java/foundation/e/drive/database/DbHelper.java +1 −2 Original line number Diff line number Diff line Loading @@ -322,9 +322,8 @@ public final class DbHelper extends SQLiteOpenHelper { * @return true if there is at least one file to download */ public static boolean syncedFolderHasContentToDownload(int syncedFolderId, Context context) { final SyncedFileStateDAO dao; try { dao = openSyncedFileStateDAO(context, false); SyncedFileStateDAO dao = openSyncedFileStateDAO(context, false); return dao.countFileWaitingForDownloadForSyncedFolder(syncedFolderId) > 0; } catch (SQLiteException e) { Log.e(TAG, "SQLite error", e); Loading