diff options
author | Jason Monk <jmonk@google.com> | 2014-05-21 16:06:19 -0400 |
---|---|---|
committer | Jason Monk <jmonk@google.com> | 2014-06-20 16:17:38 -0400 |
commit | 62515beee67307d8859beec521b7baedfa54b2b5 (patch) | |
tree | e08c69d802fb9929a223c626fe33662a47350085 /libs/hwui/renderthread/DrawFrameTask.cpp | |
parent | 65dfc83cef6dd936deef428f1d318d10ff1d7af5 (diff) |
Add lock-to-app mode
Added a dialog that shows when app has not been authorized by
DevicePolicyManager.isLockTaskAuthorized. This allows any app
to trigger lock-to-app mode. This same dialog is used when
startLockTaskOnCurrent is triggered by the recents long-press.
Can exit the mode by long-pressing recents again.
Keyguard is disabled when lock-to-app is active.
This CL also prevents apps from finishing when they are the root
task in a lock task TaskRecord.
Change-Id: Ib54d858e570cccf6bfd986958868e15f49bcef75
Diffstat (limited to 'libs/hwui/renderthread/DrawFrameTask.cpp')
0 files changed, 0 insertions, 0 deletions