summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorjorgegil@google.com <jorgegil@google.com>2021-05-19 14:27:59 -0700
committerjorgegil@google.com <jorgegil@google.com>2021-05-19 14:27:59 -0700
commitc109aa6e563dd13dc5f6415247d745c2be1f8e83 (patch)
treeaaa649454ab7461cd66113d620da3a4533615555 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parenta025621bcd3233a4ffab1269d8b640fa40dab165 (diff)
Only resize the menu on hide if it was resized on show
Fixes an issue where a max-size PIP is resized to the user-resized size after either: A) single-tap to show the menu and then it times out to hide it, or B) single-tap to show the menu and then single tap outside of the PIP window This was caused by the resize=true flag being passed into PipMenuView.hideMenu() from the hide menu timeout runnable or from PipResizeGestureHandler.onDragCornerResize() Bug: 186616706 Test: enter PIP, then: 1) double-tap to MAX, then tap once to show menu and wait for it to time out - verify it stays in MAX size 2) double-tap to MAX, then tap once to show menu and once outside of PIP - verify it stays in MAX size 3) pinch-resize to minimum size, tap once, wait for it to expand a bit, wait for the menu timeout - verify it resizes down to the minimum size. Change-Id: I394d49b77f2c6aa42fc4681ef5238c478a474b85
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions