| Commit-Queue | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
1 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.
SideUi: Ensure thread safety in SideUiCoordinator
SideUiCoordinator has mutable states, so we need to ensure thread
safety.
Since it's a UI compoenent, a simple and effective way is to guard all
public methods with ThreadUtils.assertOnUiThread().
A subsequent CL will also prevent same-thread re-entrancy bugs. For
example, during updateUi(), a SideUiContainer shouldn't call updateUi()
again. This requires a new mutable state (such as mIsUpdatingUi), so
this CL makes sure all mutable states are only updated in the UI thread.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |