Replaces getBatteryHistoryUri and getBatteryHistorySinceLastFullCharge

with the new functions in DatabaseUtils.

Bug: 253395332
Test: make RunSettingsRoboTests + manually
Change-Id: I5f60cef80d1e9ba3f87ab6f84492463152a40276
This commit is contained in:
Kuan Wang
2022-10-25 20:37:11 +08:00
parent df05a1378b
commit c5c87b7774
7 changed files with 6 additions and 109 deletions

View File

@@ -18,7 +18,6 @@ package com.android.settings.fuelgauge;
import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.util.SparseIntArray;
import com.android.settings.fuelgauge.batteryusage.BatteryHistEntry;
@@ -154,16 +153,6 @@ public interface PowerUsageFeatureProvider {
*/
Map<Long, Map<String, BatteryHistEntry>> getBatteryHistory(Context context);
/**
* Returns battery history data since last full charge with corresponding timestamp key.
*/
Map<Long, Map<String, BatteryHistEntry>> getBatteryHistorySinceLastFullCharge(Context context);
/**
* Returns {@link Uri} to monitor battery history data is update.
*/
Uri getBatteryHistoryUri();
/**
* Returns {@link Set} for hidding applications background usage time.
*/