Refine update process for restrict tip.
When restrict tip update, we should also update app list unless it goes from NEW to INVISIBLE. After that it won't show "0 apps been restricted". Change-Id: Iedf4288fcddfe632a9ba8c16afdfb5bc044bce2e Fix: 79890132 Test: RunSettingsRoboTests
This commit is contained in:
@@ -103,6 +103,7 @@ public class RestrictAppTip extends BatteryTip {
|
||||
} else {
|
||||
mState = tip.getState();
|
||||
mShowDialog = tip.shouldShowDialog();
|
||||
mRestrictAppList = ((RestrictAppTip) tip).mRestrictAppList;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user