Loading app/src/main/java/foundation/e/drive/database/DbHelper.java +1 −2 Original line number Diff line number Diff line Loading @@ -305,9 +305,8 @@ public final class DbHelper extends SQLiteOpenHelper { * @return true if there is at least one file that need to be uploaded */ public static boolean syncedFolderHasContentToUpload(long syncedFolderID, Context context) { final SyncedFileStateDAO dao; try { dao = openSyncedFileStateDAO(context, false); SyncedFileStateDAO dao = openSyncedFileStateDAO(context, false); return dao.countFileWaitingForUploadForSyncedFolder(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 @@ -305,9 +305,8 @@ public final class DbHelper extends SQLiteOpenHelper { * @return true if there is at least one file that need to be uploaded */ public static boolean syncedFolderHasContentToUpload(long syncedFolderID, Context context) { final SyncedFileStateDAO dao; try { dao = openSyncedFileStateDAO(context, false); SyncedFileStateDAO dao = openSyncedFileStateDAO(context, false); return dao.countFileWaitingForUploadForSyncedFolder(syncedFolderID) > 0; } catch (SQLiteException e) { Log.e(TAG, "SQlite error", e); Loading