summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorBen Lin <linben@google.com>2021-05-17 16:06:31 -0700
committerBen Lin <linben@google.com>2021-05-17 16:10:20 -0700
commitea4f7e5b2ab1cc36e71aae9c7d61e350bc833154 (patch)
treed18e781b02d01df6fdcd0b7986b570d527708f2d /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent6eb35894be9c607a2540fd294a7c2afccca52cc1 (diff)
PiP: Move resetting mAllowTouches into scope of MenuView
Previously we used to reset mAllowTouches backed on callbacks from TaskOrg's animation finish, but there is a race where it's possible the callback from the animation finish happens before the menu state updates, which causes the callback to no-op. Instead, since we only disable allow touches during #showMenu, just keep it in the scope and re-enable it when the same animation has ended (or cancelled). Bug: 188464003 Test: Move PIP to smaller, tap (to cause it to grow larger), and tap on an icon, and expect icon to work and launch Settings, etc. Change-Id: Iea3fff3c279dcdfa7eb922cb59302ea53ac618fd
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions