diff options
author | Riddle Hsu <riddlehsu@google.com> | 2020-08-13 16:14:19 +0800 |
---|---|---|
committer | Riddle Hsu <riddlehsu@google.com> | 2020-08-14 13:49:10 +0000 |
commit | 22269d3aed530a3a2c2a81da5bd59933fe1a9cfe (patch) | |
tree | cc8da630ef1835e6cdfb71231dedd67b2991212e /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 6c1cf6ccd8b91500ddac0d25d85f85767ca4d4a1 (diff) |
Simplify unit test of activity launch ability on trusted display
It is better not to mix real world things (virtual display) with
mocked objects. And it is not needed to create a display and
activity record, just focus on Display#isTrusted and the method
isCallerAllowedToLaunchOnDisplay.
Bug: 159102753
Test: ActivityStackSupervisorTests#testDisplayCanLaunchActivities
Change-Id: I54dff649aae4fe894de024637559a74f63b6da25
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions