summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorBenjamin Franz <bfranz@google.com>2017-07-03 16:34:14 +0100
committerBenjamin Franz <bfranz@google.com>2017-08-25 14:54:42 +0100
commita83859ffaa4d339729cbc1a8c114b73c6afedb00 (patch)
tree4ad7b36a0f35ffe34b1f2d2eedcde78b956c7009 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentb1671e0e1affc085e0e196e79ee1185d03a5ae91 (diff)
Refactor all lock task related methods into a new class
This simplifies the way lock task mode is called by creating a class that is fully responsible for managing locked tasks. This enables unit testing and makes it easier to see where individual calls are coming from. Feeling is that there are some subtle bugs around synchronization and expectations on the locked task APIs. Also added unit tests for the new manager class. Test: bit FrameworksServicesTests:com.android.server.am.LockTaskManagerTest Test: go/wm-smoke Test: cts-tradefed run cts -m DevicePolicyManager --test com.android.cts.devicepolicy.DeviceOwnerTest#testLockTask_deviceOwnerUser Bug: 63909481 Change-Id: I3fa8606778fea5a801c21aebeb231db5a6bee47f
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions