summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/24
diff options
context:
space:
mode:
authorJorim Jaggi <jjaggi@google.com>2016-11-23 11:28:57 +0100
committerJorim Jaggi <jjaggi@google.com>2016-11-23 17:35:32 +0100
commit0796187e95420b263c8e35a4a43a8749479bc559 (patch)
treee4212e13fcafc4f157f3f2512cf1a92b2b3659df /docs/html/sdk/api_diff/24
parent241ae10b2189f449e57d8d660235ac56d8fb1b80 (diff)
Deprecate FLAG_DISMISS_KEYGUARD
Since we now have an explicit dismiss method the flag is only dangerous for falsing. The behavior will be migrated in the following way: - Insecure: Treat as FLAG_SHOW_WHEN_LOCKED - Trusted: Actually dismiss Keyguard. - Secure: Show bouncer. We also restore the behavior to not allow dismissing the Keyguard while it is occluded, which was the case in Nougat. Test: cts/hostsidetests/services/activityandwindowmanager/util/run-test android.server.cts.KeyguardTests Test: cts/hostsidetests/services/activityandwindowmanager/util/run-test android.server.cts.KeyguardLockedTests Test: Insecure: Launch FLAG_DISMISS_KEYGUARD activity, make sure Keyguard is occluded. Test: Secure: Launch FLAG_DISMISS_KEYGUARD from SHOW_WHEN_LOCKED, make sure bouncer is shown. Test: Trusted: Launch FLAG_DISMISS_KEYGUARD from SHOW_WHEN_LOCKED, make sure Keyguard gets unlocked. Test: Trusted: Launch FLAG_DISMISS_KEYGUARD, lock screen, make sure Keyguard is not dismissed/occluded. Change-Id: I0d1ec9397a83975adb065c6cb81bf23b08c55395
Diffstat (limited to 'docs/html/sdk/api_diff/24')
0 files changed, 0 insertions, 0 deletions