commit | 7c64525d1caa3996d65f01f1fe3145b9bea27cd2 | [log] [tgz] |
---|---|---|
author | Ben Lin <linben@google.com> | Wed Apr 20 14:14:36 2022 -0700 |
committer | Ben Lin <linben@google.com> | Wed Apr 20 14:14:36 2022 -0700 |
tree | 24839f23c036bc49b621f353e9c0f5c31e5c0b3d | |
parent | 765bbec608205a3a4e22951d3f45df410c73ab12 [diff] |
PiP: Re-attach PiP menu when display changes. When changing the display (e.g. foldables that fold/unfolds) while the menu is showing, it seems the SF layers go through some changes that get the menu in a bad state and no longer renders correctly. Just teardown and recreate/re-attach the menu instead. Bug: 218987352 Test: Unfold/fold device while menu is showing, menu still shows up afterwards Change-Id: I4255191c3298cf663b6a0428ece6f34fd96ff3a6