Repository navigation
feat: usage access permission screen - #17
Merged
Merged
Conversation
Lists what goes to the server (package names, open times and durations) and what is never collected, then opens the usage access settings, on this app's entry where supported, with fallbacks for devices without that screen.
The app checks the permission on every resume. Once it is granted, it collects and syncs right away.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #14
What
org.mozilla.firefox), when it was opened and for how long.Settings.ACTION_USAGE_ACCESS_SETTINGSon this app's entry where supported. It falls back to the plain usage access list, then to the general settings on devices without that screen.Privacy relevant
The screen makes concrete promises about what is and is not sent. They match what the code does today. Any later change to the event contents (for example adding
label) has to update these texts too.Tests
No new unit tests: opening the settings and re-checking on resume depend on Android and still need a run on a device. All existing checks pass. There are no new dependencies.