Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8fbd8fac authored by Fahim Salam Chowdhury's avatar Fahim Salam Chowdhury 👽 Committed by Vincent Bourgmayer
Browse files

Apply 1 suggestion(s) to 1 file(s)

parent 5b97a6ec
Loading
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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);