summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorRiddle Hsu <riddlehsu@google.com>2020-08-13 16:14:19 +0800
committerRiddle Hsu <riddlehsu@google.com>2020-08-14 13:49:10 +0000
commit22269d3aed530a3a2c2a81da5bd59933fe1a9cfe (patch)
treecc8da630ef1835e6cdfb71231dedd67b2991212e /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent6c1cf6ccd8b91500ddac0d25d85f85767ca4d4a1 (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 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions