commit | 5763f3a1f458b66692b0753f07f82455c92a626b | [log] [tgz] |
---|---|---|
author | Nicolo' Mazzucato <nicomazz@google.com> | Tue Feb 15 16:02:13 2022 +0100 |
committer | Nicolo' Mazzucato <nicomazz@google.com> | Tue Feb 15 16:02:13 2022 +0100 |
tree | 52818ee9c345ec4da979bf4018a8cd51005be743 | |
parent | 05474038051ffbe2f0bb0f42e005c9b732af7eac [diff] |
Assert add/removeCallbacks are from main thread in DevicePostureControllerImpl There have been bugs associated to concurrent modifications of mListeners, but we're not able to reproduce them. With this cl, there will be a more obvious error message in future bugs, if there will be any. Bug: 219510239 Test: Manually tried to trigger the assert, failing. Change-Id: I9dd5e0fd45227b133b17f5a6680b35c89b183ce8