[stable-3.11] Make the name collision policy for auto uploads selectable#5883
Conversation
Signed-off-by: Joachim Meyer <joachim@joameyer.de>
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
656abc9 to
afacede
Compare
|
Issues
======
+ Solved 8
- Added 5
Complexity increasing per file
==============================
- src/main/java/com/owncloud/android/providers/FileContentProvider.java 3
See the complete overview on Codacy |
| private String localPath; | ||
| private String remotePath; | ||
| private boolean wifiOnly = false; | ||
| private boolean chargingOnly = false; |
There was a problem hiding this comment.
| private Integer uploadAction; | ||
| private FileUploader.NameCollisionPolicy nameCollisionPolicy = FileUploader.NameCollisionPolicy.ASK_USER; | ||
| private MediaFolderType type; | ||
| private boolean hidden = false; |
There was a problem hiding this comment.
Issue found: Avoid using redundant field initializer for 'hidden'
| private String folderName; | ||
| private String localPath; | ||
| private String remotePath; | ||
| private boolean wifiOnly = false; |
There was a problem hiding this comment.
| private boolean chargingOnly = false; | ||
| private boolean existing = true; | ||
| private boolean enabled = false; | ||
| private boolean subfolderByDate = false; |
There was a problem hiding this comment.
| private boolean wifiOnly = false; | ||
| private boolean chargingOnly = false; | ||
| private boolean existing = true; | ||
| private boolean enabled = false; |
There was a problem hiding this comment.
|
I manually cherry-picked this |
Lint
SpotBugs (new)
SpotBugs (stable-3.11)
SpotBugs increased! |
|
IT test failed: https://www.kaminsky.me/nc-dev/android-integrationTests/13557-IT |
Lint
SpotBugs (new)
SpotBugs (stable-3.11)
SpotBugs increased! |
|
IT test failed: https://www.kaminsky.me/nc-dev/android-integrationTests/13582-IT |
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
|
APK file: https://www.kaminsky.me/nc-dev/android-artifacts/13592.apk |
Lint
SpotBugs (new)
SpotBugs (stable-3.11)
|
|
IT test failed: https://www.kaminsky.me/nc-dev/android-integrationTests/13592-IT |

backport of #5810