Loading
Fix b/264582296: Incorrect app battery usage after switching between...
Fix b/264582296: Incorrect app battery usage after switching between 'restricted/unrestricted/optimized'. This bug is due to the instance fields state is not refreshed after setAppUsageState(). When setting back to the original mode in the same page, getAppOptimizationMode(mMode, mAllowListed) still returns the original mode. So the setting back action is ignored. Bug: 264582296 Fix: 264582296 Test: manual Change-Id: I4da5dd7f1ca2660661f842a67b7d799aabd1ba05