Charles He
2bf2832047
AM: introduce ActivityOptions.setLockTaskMode().
...
This new API allows any activity to be launched into LockTask mode, as
if the package of the activity has declared "lockTaskMode =
if_whitelisted" in its manifest.
The lockTaskLaunchMode logic is also moved from TaskRecord to
ActivityRecord, in order to accommodate the new path from
ActivityOptions.
Bug: 66124180
Test: cts-tradefed run cts-dev --module DevicePolicyManager -t com.android.cts.devicepolicy.DeviceOwnerTest#testLockTask_deviceOwnerUser
Test: bit FrameworksServicesTests:com.android.server.am.LockTaskControllerTest
Test: manual, with TestDPC's kiosk mode
Change-Id: I786bf194ed20a212bbad1f3cdb9394cc77aa4d77
2017-10-12 23:03:30 +01:00
..
2017-10-04 18:37:21 +00:00
2017-10-03 14:54:49 -07:00
2017-08-09 17:25:03 +01:00
2017-10-10 14:07:43 -07:00
2017-09-27 09:30:28 +00:00
2017-06-06 15:48:24 +00:00
2017-09-11 16:01:04 -07:00
2017-10-10 16:51:15 +00:00
2017-10-12 11:37:17 -07:00
2017-08-30 14:59:36 +02:00
2017-10-12 23:03:30 +01:00
2017-10-04 13:00:52 +00:00
2017-09-08 16:01:10 -07:00
2017-09-01 21:31:18 +00:00
2017-06-05 18:30:05 -07:00
2017-05-24 15:39:23 -07:00
2017-08-15 16:48:42 -04:00
2017-07-06 11:57:36 +01:00
2017-07-31 11:29:37 -07:00
2017-08-04 16:13:06 -07:00
2017-05-02 13:35:13 -07:00
2017-04-27 12:35:15 -07:00
2017-06-05 13:27:11 -06:00
2017-10-04 12:23:23 -07:00
2017-08-04 17:14:22 -07:00
2017-05-24 15:39:23 -07:00
2017-07-15 21:08:56 -06:00
2017-08-11 14:45:47 -06:00
2017-07-19 10:51:17 -07:00
2017-05-01 14:26:54 -07:00
2017-09-13 13:17:18 -07:00
2017-04-27 12:35:15 -07:00
2017-04-26 14:37:57 -07:00
2017-10-12 11:37:17 -07:00
2017-07-24 14:29:50 -04:00
2017-07-21 13:14:37 -07:00
2017-08-30 17:07:58 -04:00
2017-08-23 15:06:32 -07:00
2017-07-31 19:41:01 -07:00
2017-10-06 16:34:43 -07:00
2017-05-12 21:01:02 +00:00
2017-07-10 17:24:20 +01:00
2017-08-02 18:34:00 -07:00
2017-08-02 18:34:00 -07:00
2017-10-11 19:11:10 -07:00
2017-09-15 08:07:41 +09:00
2017-07-11 18:08:10 -07:00
2017-09-27 08:52:30 -07:00
2017-10-11 17:59:17 +00:00
2017-10-03 12:35:48 -07:00
2017-10-09 15:10:04 -04:00
2017-09-01 15:45:43 -07:00
2017-05-10 15:16:17 -07:00
2017-04-26 17:14:19 -07:00
2017-05-10 15:16:17 -07:00
2017-06-29 20:42:32 -07:00
2017-06-29 14:01:43 -07:00
2017-05-02 13:35:13 -07:00
2017-08-16 10:01:26 -07:00
2017-08-31 21:44:25 +00:00
2017-06-05 13:27:11 -06:00
2017-05-23 10:37:09 -07:00
2017-09-29 15:03:47 -07:00
2017-07-19 15:04:12 +00:00
2017-10-10 21:04:42 +01:00
2017-10-03 07:01:01 -07:00
2017-10-06 16:34:43 -07:00
2017-05-31 15:10:25 -07:00
2017-05-12 21:01:02 +00:00
2017-05-12 21:01:02 +00:00
2017-06-05 13:27:11 -06:00
2017-05-03 22:16:02 -07:00
2017-06-29 19:01:39 +00:00
2017-10-03 20:58:30 -07:00
2017-08-24 21:45:24 +00:00
2017-04-26 18:59:32 +00:00
2017-08-15 11:30:19 -07:00
2017-08-28 14:19:32 -07:00
2017-08-18 07:57:06 -07:00
2017-10-11 07:40:46 -07:00