Skip to content
Commit 5763f3a1 authored by Nicolo' Mazzucato's avatar Nicolo' Mazzucato
Browse files

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
parent 05474038
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment