commit | 8b70910bebfeb5047a71b3d5a3756e97427ae17b | [log] [tgz] |
---|---|---|
author | Ben Lin <linben@google.com> | Fri Mar 19 17:19:51 2021 -0700 |
committer | Winson Chung <winsonc@google.com> | Wed Mar 31 11:02:01 2021 -0700 |
tree | 18b64ed3000288be8374b1ea44d8cdb15b30e080 | |
parent | 65da93d3fd34dd545de4b57bac52812de10169b2 [diff] |
PiP: Ensure PiP menu layout updates are on Shell main thread. Only the thread which created the menu view (shell main thread) can update its view layout, so ensuring that it is executed in that sense. Also moved setup work in PipController to Shell Main thread. Ideally they should be in ShellInit, but that will need to wait until tv.PipController can unify with PipController. Bug: 182418859 Test: Enter PIP Change-Id: Ib88fefb9320ab441715c6ef3d5cf4f80dc9f022f