summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorBen Lin <linben@google.com>2020-07-21 16:44:02 -0700
committerBen Lin <linben@google.com>2020-07-21 18:45:41 -0700
commit07af477dc1e8311b764b251856f0a21c92874ffd (patch)
treec6ed5749221be8f3d90669261282bbf3a72516bd /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent54ae0a7ce92852a331b6bf806ec8d34fad0911ae (diff)
When dismissing PiP, don't set bounds to null if setting to FREEFORM.
When exiting PIP via swipe away/X button, we set the bounds to null so it can inherit from the parent bounds (Fullscreen, Split or Freeform). However for freeform, we should restore to mLastNonfullScreenBounds, so don't set it to null in this case. Bug: None Test: Dismiss PIP via X button or swipe away, and then restore it - bounds are restored back to its original pre-PIP bounds Change-Id: Ib280db01d3c252602d82eadad6bbf536a4200d96
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions