Fix Settings crash
- When user leaves WiFi control page, ApplicationState session is onpause(), and removes all handler callback. But if a callback is fired, remove callback can not remove it. Therefore Wifi callback is received in Special app access page which is loading DataUsageState. It caused object cast error because wifi callback want to cast DataUsageState data to WifiSettingsState. - The solution is do not rebuildList in paused state. Fixes: 141321483 Test: manual, robolectric Change-Id: I6690277932ccfcd332fc1432feafbc907fc79524
Loading
Please register or sign in to comment