summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorBen Lin <linben@google.com>2020-05-18 14:42:20 -0700
committerBen Lin <linben@google.com>2020-05-21 19:17:50 +0000
commitcd3f2de8b88cebcf10532084d887bd6bf41430f0 (patch)
tree625c4adda11894997647e15131bd530c67d03ff5 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent76b41e009d135b23fe4ee6a0ef1d153fcbb66923 (diff)
Avoid #finalResizePip after dismissal of PIP.
When dismissing PIP via the close button or via dragging to the dismiss area, #finalResizePip is being called which then sets the PIP task back to its PIP bounds when it should be set undefined already by the framework. Tap to close: The tap UP event causes a double-tap delay callback, which gets ran shortly after the close button is tapped. Since we are already dismissing and PipTouchHandler gets that callback, we will simply remove the double-tap callback. We will also shorten the hideMenu animation to 0 for this case. Drag to dismiss: The dismissal causes an animation, which then calls for a Resize-callback. There really is no need to do this for the case of dismissal, so we will avoid calling it. Bug: 155794931 Test: Dismiss both PIP and then try to get PIP enter secondary split-screen, and YouTube no longer stays black screen Change-Id: Ic93b210f9f3f7d8947f3fe36f5fa32886f8170ee
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions