commit | 0931cd362e6708ba4a8c347aabf91e9e7ef1798c | [log] [tgz] |
---|---|---|
author | Darrell Shi <darrellshi@google.com> | Mon Oct 31 18:18:25 2022 +0000 |
committer | Darrell Shi <darrellshi@google.com> | Tue Nov 01 17:53:10 2022 +0000 |
tree | c8f2edc5b0662175eeb493138d418cb01cec1a29 | |
parent | c849d793a115813ff033d264b147e4ec469d1888 [diff] |
Improve DreamOverlayService thread safety. Local states like the lifecycle state should and are now only accessed from the main thread. Also add "locked" to names of local functions that should only be called synchronously. Test: atest DreamOverlayServiceTest Bug: 255203719 Change-Id: Iaa7f952e84b5c4c33f48238baeac0a4124233e2c