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
11 KiB
11 KiB