-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[FEATURE REQUEST] Make document provider visibility independent from locking methods #3538
Conversation
6b7e49c
to
08b6cf9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a question related to UX, but the code looks good! Good job @JuancaG05
...ain/java/com/owncloud/android/presentation/ui/settings/fragments/SettingsSecurityFragment.kt
Show resolved
Hide resolved
owncloudApp/src/main/java/com/owncloud/android/providers/DocumentsStorageProvider.kt
Outdated
Show resolved
Hide resolved
prefLockAccessDocumentProvider?.setOnPreferenceChangeListener { _: Preference?, newValue: Any -> | ||
if (!(newValue as Boolean)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know if this is the expected behavior 🤔
Not sure if we should show a dialog to the user when he wants to enable the documents provider(which is the expected behavior) from a UX point of view
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMHO, the dialog does not make sense here since access to document provider is open by default. Warning users when the Lock
option is switched off would be the same as warning when the Security
section is opened. I'd remove the dialog because the feature meaning is opposite as the previous one.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, I will remove it then. Thank you!
(1) [DONE]this one: #3538 (comment) |
(2)I noticed a tiny difference with the old behaviour
Current: Expected (before): Good to fix, but not a blocker Pixel2 V11 |
(3) [FIXED]Please, don't forget removing the following entry from the Changelog:
it does not make sense anymore, since the current one covers totally the final result. |
3b92617
to
6268654
Compare
Removed 😉 |
e05a78f
to
03c7876
Compare
I think it's fixed, if you can test it thoroughly to make sure I'd appreciate it, anything you see, let me know. |
Everything is correct!! approved on my side and right to 2.20 |
…not on lock methods
f8fa7cb
to
2c1f93b
Compare
6571f72
to
f72ad92
Compare
Related Issues
App: #3520
QA
Test plan: https://github.com/owncloud/QA/blob/master/Mobile/Android/Release_2.20/3538-document_provider_visibility.md