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

Update DocumentsProvider roots when enabling/disabling app lock feature #6991

Merged
merged 1 commit into from
Sep 23, 2020

Conversation

grote
Copy link
Member

@grote grote commented Sep 22, 2020

Note that this doesn't attempt to re-enable the roots when the passcode was entered. As the timeout is only 5 seconds that would not be very useful. Also, you would need extra infrastructure to disable the roots again from the background after 5 seconds which might not be reliable (if the OS kills you before). So keeping the roots off when the passcode feature is active is probably the sanest approach.

Fixes #6882

@grote grote force-pushed the 6882-passcode-update-roots branch from 5fb9084 to f7e711d Compare September 22, 2020 19:50
@nextcloud-android-bot
Copy link
Collaborator

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

Codacy

393

Lint

TypemasterPR
Warnings8181
Errors00

SpotBugs (new)

Warning TypeNumber
Bad practice Warnings27
Correctness Warnings54
Internationalization Warnings9
Multithreaded correctness Warnings9
Performance Warnings72
Security Warnings44
Dodgy code Warnings105
Total320

SpotBugs (master)

Warning TypeNumber
Bad practice Warnings27
Correctness Warnings54
Internationalization Warnings9
Multithreaded correctness Warnings9
Performance Warnings72
Security Warnings44
Dodgy code Warnings105
Total320

@tobiasKaminsky tobiasKaminsky merged commit 63da455 into master Sep 23, 2020
@delete-merged-branch delete-merged-branch bot deleted the 6882-passcode-update-roots branch September 23, 2020 05:27
@AndyScherzinger AndyScherzinger added this to the Nextcloud App 3.14.0 milestone Sep 23, 2020
thelittlefireman pushed a commit to thelittlefireman/android that referenced this pull request Mar 19, 2021
…-roots

Update DocumentsProvider roots when enabling/disabling app lock feature
Signed-off-by: thelittlefireman <thelittlefireman@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Passcode does not remove DocumentsProvider roots right away and app access persists
4 participants