diff options
author | Jim Miller <jaggies@google.com> | 2016-08-05 18:54:58 -0700 |
---|---|---|
committer | Jim Miller <jaggies@google.com> | 2016-08-05 18:54:58 -0700 |
commit | 37979c9db0a88039bb098645f4180dc04e987b96 (patch) | |
tree | 8802c9ce520bb07ae2b6d4f4e83ab902c3e25272 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 1b72661e451ec79fa0e39a70a5a07749616b62dd (diff) |
Fix bug where foreground activity fails to cancel auth/enrollment
This fixes a bug where the currently authenticating application
can't cancel itself in onPause(). The problem is that some applications
can set FLAG_RESUME_WHILE_PAUSING (like the home screen), which changes
the life cycle of IMPORTANCE_FOREGROUND to be removed before onPause()
completes. The result is the currently authenticating activity
can't cancel fingerprint authentication or enrollment.
The fix is to allow apps to always cancel themselves.
Fixes bug 30380234
Change-Id: If65c2028014da8d5129506d0b45cc6c1e25f7860
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions