[S-QPR1] protect gettinng battery stats from DeadSystemException
In some corner cases, we will receive the DeadSystemException from BatteryStatService when invoking getBatteryUsageStats() method, since it will encounter the binder transaction too large error. Before the root cause is resolved by the BatteryStatService team, we have to add workaround protection in the app side to avoid Setting is crashed. Bug: 191237968 Bug: 198084535 Test: make SettingsRoboTests Change-Id: I783479241bac83b4afc8ced3073e1b1db302c48c Merged-In: I75fcf63f4f69d86d6dce0e12bd4d738b1219ae47
Loading
Please register or sign in to comment