summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorHongwei Wang <hwwang@google.com>2020-04-16 14:10:08 -0700
committerHongwei Wang <hwwang@google.com>2020-04-20 15:44:37 -0700
commited98ad97972657fcfcca33e78a9ce015e6f498e6 (patch)
tree37ba065cd61df95af547a5c7bc287991e6850011 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent74918ad98b005f4235fc8bb6fb296532e359589c (diff)
Fix PiP window on rotation
Per suggestion, check WindowState.mInRelayout instead of mSurfaceResized when trying to apply the companion SurfaceControl.Transaction of WindowContainerTransaction. mSurfaceResized is false when the client calls to relayout and client renderer is paused, which can be triggered from home screen rotation for PiP window. Bug: 154236022 Test: manually rotate with PiP on screen Change-Id: Ibbe1632de054a8f99c006050701d3472ddc3bbd9
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions