-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make biometric authentication more robust
* Hide the entire window contents instead of just the fragment contents when unauthenticated. * Make invisible views unfocusable and drop all input events when unauthenticated. * Set FLAG_SECURE when the window loses focus to avoid having the screenshot show in the recent apps switcher. * Move the authentication enforcement to the base activity instead of the base fragment since the activity is what's directly attached to the window. * Use the top-level activity in each task to enforce authentication restrictions to allow predictive back gestures to continue to work. Signed-off-by: Andrew Gunnerson <accounts+github@chiller3.com>
- Loading branch information
1 parent
4d45b97
commit dbde9e7
Showing
4 changed files
with
184 additions
and
95 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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