commit | b780479543e9121f688586eede76d9f60df519b4 | [log] [tgz] |
---|---|---|
author | Riddle Hsu <riddlehsu@google.com> | Fri Sep 18 18:52:02 2020 +0800 |
committer | Riddle Hsu <riddlehsu@google.com> | Wed Oct 07 23:42:00 2020 +0800 |
tree | bca0096af4407864910dcd10f20ccd5d8fe34863 | |
parent | 8f7dd59911eef213c0d1b5db460f6e8114aeeea0 [diff] |
Remove direct WM lock from WPC#onTopProcChanged Currently it is only used for VR mode. If it is not enabled, nothing needs to be done. And if the proc state is change while VR is enabled, post a message to update the state to avoid nested lock. Also a minor cleanup for non-null WindowProcessListener. Bug: 159104503 Test: WindowProcessControllerTests Change-Id: If30ab2336dfdb56e3871845d65fe298aa696633d