diff options
author | Benjamin Franz <bfranz@google.com> | 2017-07-03 16:34:14 +0100 |
---|---|---|
committer | Benjamin Franz <bfranz@google.com> | 2017-08-25 14:54:42 +0100 |
commit | a83859ffaa4d339729cbc1a8c114b73c6afedb00 (patch) | |
tree | 4ad7b36a0f35ffe34b1f2d2eedcde78b956c7009 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | b1671e0e1affc085e0e196e79ee1185d03a5ae91 (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