summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorCharles He <qiurui@google.com>2017-11-01 10:05:51 +0000
committerCharles He <qiurui@google.com>2017-11-29 17:06:09 +0000
commitd62f9650249de7944392f1c984a81b435810a7cf (patch)
tree1a6e8ae707c4420b2efd7881e280fdb9bf6a4d78 /tools/aapt2/java/JavaClassGenerator_test.cpp
parenta604a87862ddda1dc120fe34df1cabff1a8e3d0a (diff)
Enable Recents activity in LockTask mode.
In P, we introduce DevicePolicyManager.setLockTaskFeatures() API, which lets the DPC enable the SystemUI Recents activity in LockTask mode. To do this, we 1) Allow recents activity in LockTaskController (otherwise it'll be blocked from starting as it's not whitelisted) 2) Clear the RecentTasks list, so that only whitelisted tasks remain in the list (and therefore the recents UI) Note that 2) is done even when Recents isn't enabled through the setLockTaskFeatures() API. Bug: 68238765 Test: runtest systemui Test: bit FrameworksServicesTests:com.android.server.am.LockTaskControllerTest Test: CTS verifier > CTS verifier > Managed provisioning > Device owner tests > LockTask UI Change-Id: I63c524c4d9a68b87a63cecf1642ecebd94aa2bb0
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions