Skip to content

Commit

Permalink
RepeatedUploads (#847)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxiaoping authored and freeplant committed Jan 8, 2020
1 parent 5675400 commit 0bbe795
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ android {
applicationId 'com.seafile.seadroid2'
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 99
versionName "2.2.24"
versionCode 100
versionName "2.2.25"
multiDexEnabled true
resValue "string", "authorities", applicationId + '.cameraupload.provider'
resValue "string", "account_type", "com.seafile.seadroid2.account.api2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -244,10 +244,10 @@ public void onPerformSync(android.accounts.Account account,
// }

// resync all media
if (extras.getBoolean(ContentResolver.SYNC_EXTRAS_INITIALIZE)) {
// Log.i(DEBUG_TAG, "Doing a full resync");
dbHelper.cleanPhotoCache();
}
// if (extras.getBoolean(ContentResolver.SYNC_EXTRAS_INITIALIZE)) {
// Log.i(DEBUG_TAG, "Doing a full resync");
// dbHelper.cleanPhotoCache();
// }

if (!settingsMgr.checkCameraUploadNetworkAvailable()) {
// Log.d(DEBUG_TAG, "Not syncing because of data plan restriction.");
Expand Down

0 comments on commit 0bbe795

Please sign in to comment.