Impl dismiss action in battery tips cards.
- Use SharedPreferences to record and filter the already dimissed anomaly. Bug: 291689623 Test: manual Change-Id: I4fd4a39066591a4a201857f9586b6595b7d5c43b
This commit is contained in:
@@ -74,6 +74,7 @@ public final class BatteryUsageDataLoader {
|
||||
context, DatabaseUtils.KEY_LAST_LOAD_FULL_CHARGE_TIME);
|
||||
DatabaseUtils.sendBatteryEventData(context, ConvertUtils.convertToBatteryEvent(
|
||||
currentTime, BatteryEventType.FULL_CHARGED, 100));
|
||||
DatabaseUtils.removeDismissedPowerAnomalyKeys(context);
|
||||
}
|
||||
|
||||
// Uploads the BatteryEntry data into database.
|
||||
|
||||
Reference in New Issue
Block a user