Only show one tip at a time
1. Update the order for each tip. 2. Change BatteryTipPreferenceController and only show one precedent tip. 3. Update the SummaryDetector since now it doesn't need visibleTips Bug: 70570352 Test: RunSettingsRoboTests Change-Id: I9e2b8e72aad263f8a210c9320e0ea1eaaf8d5042
This commit is contained in:
@@ -98,6 +98,7 @@ public class BatteryTipPreferenceController extends BasePreferenceController {
|
||||
final Preference preference = batteryTip.buildPreference(mPrefContext);
|
||||
mBatteryTipMap.put(preference.getKey(), batteryTip);
|
||||
mPreferenceGroup.addPreference(preference);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user