summaryrefslogtreecommitdiff
path: root/api/api_test.go
diff options
context:
space:
mode:
author Jorge Gil <jorgegil@google.com> 2024-08-28 02:11:21 +0000
committer Jorge Gil <jorgegil@google.com> 2024-08-28 02:16:02 +0000
commit9c209525c4e8a8d74d3cbbdf69c2e41700927111 (patch)
tree9c1f8146a19d2c714359e0bf6a2e3abc39b01c04 /api/api_test.go
parentec252cbd88fd6eceb410bc8845752ce9757b6852 (diff)
Ensure MaximizeMenu is released after close animation
Adds a local val to hold on to the MaximizeMenu ViewContainer reference during the close animation, so that when the animation ends, the view container can be released. Prior to this change, the view container reference was set to null while the animation ran, which meant that when it finished the attempt to call release() silently failed because it was now null. Bug: 362282037 Fix: 361843466 Flag: EXEMPT refactor Test: open/close maximize menu multiple times, "dumpsys SurfaceFlinger" doesn't show any Maximize Menu layer Change-Id: I2947c58666bfb7e70e27f0df7c7247646ae70e4a
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions