Skip to content

[stable-3.13] Fix #5755 - #6790

Merged
tobiasKaminsky merged 1 commit into
stable-3.13from
backport/6771/stable-3.13
Aug 28, 2020
Merged

tobiasKaminsky merged 1 commit into
stable-3.13from
backport/6771/stable-3.13

Conversation

@backportbot-nextcloud

Copy link
Copy Markdown

backport of #6771

- use correct name collision info by synced folder
- syncedFolder.getNameCollisionPolicyInt -> returns int
- syncedFolder.getNameColllisionPolicy -> returns enum
- remove not needed backgroundJobManager from FilesSyncWork.kt

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
@nextcloud-android-bot

Copy link
Copy Markdown
Collaborator

APK file: https://www.kaminsky.me/nc-dev/android-artifacts/15541.apk

qrcode

To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud app.

@nextcloud-android-bot

Copy link
Copy Markdown
Collaborator

Lint

Typestable-3.13PR
Warnings8181
Errors00

SpotBugs (new)

Warning TypeNumber
Bad practice Warnings27
Correctness Warnings61
Internationalization Warnings9
Multithreaded correctness Warnings9
Performance Warnings73
Security Warnings44
Dodgy code Warnings106
Total329

SpotBugs (stable-3.13)

Warning TypeNumber
Bad practice Warnings27
Correctness Warnings61
Internationalization Warnings9
Multithreaded correctness Warnings9
Performance Warnings73
Security Warnings44
Dodgy code Warnings106
Total329

@codecov

codecov Bot commented Aug 24, 2020

Copy link
Copy Markdown

Codecov Report

Merging #6790 into stable-3.13 will decrease coverage by 0.05%.
The diff coverage is 3.03%.

@@                Coverage Diff                @@
##             stable-3.13    #6790      +/-   ##
=================================================
- Coverage          26.62%   26.56%   -0.06%     
  Complexity             4        4              
=================================================
  Files                426      426              
  Lines              34212    34212              
  Branches            4738     4738              
=================================================
- Hits                9108     9089      -19     
- Misses             23753    23769      +16     
- Partials            1351     1354       +3     
Impacted Files Coverage Δ Complexity Δ
...in/java/com/nextcloud/client/jobs/FilesSyncWork.kt 18.18% <0.00%> (ø) 0.00 <0.00> (ø)
...a/com/owncloud/android/datamodel/SyncedFolder.java 30.64% <0.00%> (-0.51%) 0.00 <0.00> (ø)
...ncloud/android/datamodel/SyncedFolderProvider.java 11.20% <0.00%> (ø) 0.00 <0.00> (ø)
...ncloud/android/operations/UploadFileOperation.java 57.35% <ø> (ø) 0.00 <0.00> (ø)
...oud/android/ui/activity/SyncedFoldersActivity.java 24.64% <0.00%> (+0.47%) 0.00 <0.00> (ø)
...droid/ui/dialog/parcel/SyncedFolderParcelable.java 0.00% <0.00%> (ø) 0.00 <0.00> (ø)
.../com/nextcloud/client/jobs/BackgroundJobFactory.kt 54.54% <100.00%> (-0.59%) 0.00 <0.00> (ø)
...va/com/owncloud/android/ui/SquareLinearLayout.java 0.00% <0.00%> (-50.00%) 0.00% <0.00%> (ø%)
.../java/com/owncloud/android/utils/DisplayUtils.java 27.34% <0.00%> (-1.23%) 0.00% <0.00%> (ø%)
...owncloud/android/ui/adapter/OCFileListAdapter.java 40.41% <0.00%> (-0.80%) 0.00% <0.00%> (ø%)
... and 8 more

@tobiasKaminsky
tobiasKaminsky merged commit fabc539 into stable-3.13 Aug 28, 2020
@delete-merged-branch
delete-merged-branch Bot deleted the backport/6771/stable-3.13 branch August 28, 2020 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants