diff options
author | Hongwei Wang <hwwang@google.com> | 2019-10-11 11:37:34 -0700 |
---|---|---|
committer | Hongwei Wang <hwwang@google.com> | 2019-10-11 11:50:08 -0700 |
commit | cd11aaaf2e33ff71b27b982a6b5024190ec442eb (patch) | |
tree | f3d0724910c60cca7024e14072d9d4506fc59874 /libs/hwui/renderthread/CacheManager.cpp | |
parent | 98bfc275494411c7888d806f307ae193f09c4e9e (diff) |
Forwards onConfigurationChanged for PiP on reparenting
This fixes a regression caused by ag/5656236
PiP saves its last position on screen within
AppWindowToken.onConfigurationChanged callback, which is triggered by
Task.reparent before the task leaves pinned stack.
With ag/5656236, Task.reparent no longer triggers
AppWindowToken.onConfigurationChanged and instead, the latter will be
called when the task is added back to its original stack while the
pinned stack no longer exists.
Bug: 142504739
Test: atest PinnedStackTests#testEnterPictureInPictureSavePosition
Change-Id: I247a9da3113077031b442740445d836b0c176986
Diffstat (limited to 'libs/hwui/renderthread/CacheManager.cpp')
0 files changed, 0 insertions, 0 deletions