Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove onAccountSet from FolderPickerActivity #4689

Merged
merged 1 commit into from Oct 17, 2019

Conversation

ezaquarii
Copy link
Collaborator

Move onAccountSet body to onStart.
Unconditionally reset fragment state, since the
acctount restoration flag is no longer available.

Signed-off-by: Chris Narkiewicz hello@ezaquarii.com

@ezaquarii
Copy link
Collaborator Author

This PR can be reviewed and testes. Mege requires merging #4677 first.

@tobiasKaminsky tobiasKaminsky force-pushed the account-cleanup-folder-picker-activity branch from 4e9fb42 to f580ae8 Compare October 16, 2019 13:29
@tobiasKaminsky
Copy link
Member

And once again, rebased, tested, works 🎉

@tobiasKaminsky
Copy link
Member

Thanks @ezaquarii for your great work!

@codecov
Copy link

codecov bot commented Oct 16, 2019

Codecov Report

❗ No coverage uploaded for pull request base (master@e47daaf). Click here to learn what that means.
The diff coverage is 0%.

@@            Coverage Diff            @@
##             master    #4689   +/-   ##
=========================================
  Coverage          ?   17.52%           
  Complexity        ?        3           
=========================================
  Files             ?      375           
  Lines             ?    32123           
  Branches          ?     4543           
=========================================
  Hits              ?     5629           
  Misses            ?    25588           
  Partials          ?      906
Impacted Files Coverage Δ Complexity Δ
...loud/android/ui/activity/FolderPickerActivity.java 0% <0%> (ø) 0 <0> (?)

Move onAccountSet body to onStart.
Unconditionally reset fragment state, since the
acctount restoration flag is no longer available.

Signed-off-by: Chris Narkiewicz <hello@ezaquarii.com>
@ezaquarii ezaquarii force-pushed the account-cleanup-folder-picker-activity branch from f580ae8 to 3519d04 Compare October 16, 2019 18:51
@nextcloud-android-bot
Copy link
Collaborator

APK file: https://www.kaminsky.me/nc-dev/android-artifacts/11275.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.

@ezaquarii
Copy link
Collaborator Author

@tobiasKaminsky Ready for merge

@nextcloud-android-bot
Copy link
Collaborator

Codacy

283

Lint

TypemasterPR
Warnings5959
Errors00

SpotBugs (new)

Warning TypeNumber
Bad practice Warnings26
Correctness Warnings69
Internationalization Warnings12
Malicious code vulnerability Warnings4
Multithreaded correctness Warnings9
Performance Warnings120
Security Warnings47
Dodgy code Warnings138
Total425

SpotBugs (master)

Warning TypeNumber
Bad practice Warnings26
Correctness Warnings69
Internationalization Warnings12
Malicious code vulnerability Warnings4
Multithreaded correctness Warnings9
Performance Warnings120
Security Warnings47
Dodgy code Warnings138
Total425

@tobiasKaminsky tobiasKaminsky merged commit 64c986e into master Oct 17, 2019
@delete-merged-branch delete-merged-branch bot deleted the account-cleanup-folder-picker-activity branch October 17, 2019 09:38
@AndyScherzinger AndyScherzinger added this to the Nextcloud App 3.9.0 milestone Oct 17, 2019
tobiasKaminsky added a commit that referenced this pull request Oct 18, 2019
16cc46f Merge pull request #4687 from nextcloud/account-cleanup-upload-files-activity
d9567a2 Merge pull request #4686 from nextcloud/account-cleanup-image-video-preview
2d9afe3 Merge pull request #4688 from nextcloud/account-cleanup-share-activity
f4a27cc Merge pull request #4693 from nextcloud/account-cleanup-file-display-activity
d237a83 Merge pull request #4699 from nextcloud/removeUploadPathActivity
64c986e Merge pull request #4689 from nextcloud/account-cleanup-folder-picker-activity
56d1880 Bump powermock-core from 2.0.2 to 2.0.4 (#4695)
ca77c7a Bump powermock-api-mockito2 from 2.0.2 to 2.0.4 (#4696)
baaf5d4 Bump powermock-module-junit4 from 2.0.2 to 2.0.4 (#4697)
ab904e3 We do not use UploadPathActivity anymore(?)
9773dc4 Merge pull request #4694 from nextcloud/account-cleanup-conflicts-resolve-activity
ae6cfb3 daily dev 20191017
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.

None yet

4 participants