History log of /frameworks/base/services/core/java/com/android/server/am/LockTaskNotify.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a585268aff94b620b2c22e9ba3ae1163bb5dc8a8 23-Oct-2014 Jason Monk <jmonk@google.com> Show screen pinning toasts on all users

Bug: 17657660
Change-Id: I964a210e7fb105e9494a7ab7f383aa9d141ba136
/frameworks/base/services/core/java/com/android/server/am/LockTaskNotify.java
07f82b79422c4c1e4bc789775c72d3ef04fbb041 19-Aug-2014 Jason Monk <jmonk@google.com> Don't stack toasts for every user press

Showing a toast on every press was adding up to a long list of
toasts to clear out of the display, now cancel the last so we
don't have that problem.

Also fix unlock strings to not use insertions because of problems
translating the context.

Bug: 16892731
Bug: 16366701
Change-Id: Ia523469089c9f8dd1f3e466a9d4ea901a376d1bc
/frameworks/base/services/core/java/com/android/server/am/LockTaskNotify.java
815e057b9bb19acd77bf01ecb690b6e9fa85902e 12-Aug-2014 Jason Monk <jmonk@google.com> Switch exiting screen pinning to recents+back

When accessibility is on, still use just recents.

While here fix strings to be less wrong. Still need finalization.

Bug: 16649417
Change-Id: I94debe9471d5132f1f662543cc98cbde638c758d
/frameworks/base/services/core/java/com/android/server/am/LockTaskNotify.java
7779bf1ce8243d9f856c05db3cc5a37a8227a970 14-Jul-2014 Jason Monk <jmonk@google.com> Finalizing lock-to-app UX

Simplifications have happened to remove the enter/exit layouts
and just use a toast to notify the user, and the in text icons
have been removed.

The enter dialog now has a checkbox to see if the lockscreen
should be locked on exit (since it isn't in settings anymore).

Also updated strings.

Bug: 15836599
Change-Id: I3ab685bf3672c8a7f9d83d12e81f0099968cdfde
/frameworks/base/services/core/java/com/android/server/am/LockTaskNotify.java
a8f569c10a423ced5be7e019c3df2bca11b052f5 07-Jul-2014 Jason Monk <jmonk@google.com> Add toast when user tries to leave lock-to-app

The toast will describe how to exit when entered normally, but when
entered by a DPM whitelisted app it will just notify them they are in
the mode.

Bug: 15780115
Change-Id: I75ac8540c31a75ac68e34b3b5c8260e191894b39
/frameworks/base/services/core/java/com/android/server/am/LockTaskNotify.java
62515beee67307d8859beec521b7baedfa54b2b5 21-May-2014 Jason Monk <jmonk@google.com> 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
/frameworks/base/services/core/java/com/android/server/am/LockTaskNotify.java