summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorryanlwlin <ryanlwlin@google.com>2020-04-29 17:00:18 +0800
committerryanlwlin <ryanlwlin@google.com>2020-05-04 12:52:48 +0800
commitf693c74ef3190c7cf58e711abf73a1b7e4a2ec1c (patch)
tree8eabfe9911b5aedd9ff54e92b0fc374db05cd2f0 /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parentd86b48ad365dedb65d32ecd3c4416c84aa00cc9b (diff)
Fix visible mirror window after switching user
The window magnification will be set to null if the new user doesn't request this feature. However all existed mirror windows are not cleared. We disable all window magnification if the connection is going to set to null. Bug: 154077487 Test: manual test case 1 1. Turn on magnification and show the mirror window 2. Switch to another user and observe it case 2 1. Turn on magnification and show the mirror window 2. Switch to another user whose magnification is turned on. 3. Observe if the window is gone. Test: atest WindowMagnificationManagerTest Change-Id: I1cf689f22587077258b857e2a114edd93a9fe1e0
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions