summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorCharles He <qiurui@google.com>2017-10-12 22:24:49 +0100
committerCharles He <qiurui@google.com>2017-10-12 23:03:30 +0100
commit2bf28320474702c979a06b34ca2c83daacc30c93 (patch)
tree129624e494b341715ce6d89dae46f3e5c49dd5d6 /tools/aapt2/java/JavaClassGenerator.cpp
parent60d548786e5521d819c9eadeaa34fcffe36c45ff (diff)
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions