Lei Yu 592faf364d Update the toggle state in constructor.
Before this cl, the update of toggle depends on BroadcastReceiver.
However it is not called when toggle is inited, which make the toggle in
broken state sometimes.

This cl make it execute the update method in constructor, so toggle can
get the correct state when it is created.

Fixes: 73718975
Test: RunSettingsRoboTests
Change-Id: Icb798afaff0bdeedad3a966315441712be2e2523
2018-03-22 11:18:43 -07:00
2015-04-13 09:21:39 -07:00
2017-10-13 15:59:03 -07:00
Description
No description provided
3.1 GiB
Languages
Java 89.8%
Kotlin 10.2%