Zaiyue Xue e8f2631f25 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
2023-01-12 12:13:48 +08:00
2022-04-14 09:55:36 +00:00
2019-04-04 12:49:15 -07:00
2020-01-16 06:45:18 +00:00
2022-10-06 09:10:38 -07:00
2022-10-13 17:21:08 +08:00
Description
No description provided
3.1 GiB
Languages
Java 89.8%
Kotlin 10.2%