Merge "Add function getBatteryHistorySinceLastFullCharge, used to replace getBatteryHistory in BatteryHistoryLoader." into tm-qpr-dev am: 51d087cd67
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/19235232 Change-Id: Ic7576a9592b3b9ef71af52001c02f0db17a41312 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -149,6 +149,11 @@ public interface PowerUsageFeatureProvider {
|
|||||||
*/
|
*/
|
||||||
Map<Long, Map<String, BatteryHistEntry>> getBatteryHistory(Context context);
|
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.
|
* Returns {@link Uri} to monitor battery history data is update.
|
||||||
*/
|
*/
|
||||||
|
@@ -165,6 +165,12 @@ public class PowerUsageFeatureProviderImpl implements PowerUsageFeatureProvider
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Map<Long, Map<String, BatteryHistEntry>> getBatteryHistorySinceLastFullCharge(
|
||||||
|
Context context) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Uri getBatteryHistoryUri() {
|
public Uri getBatteryHistoryUri() {
|
||||||
return null;
|
return null;
|
||||||
|
Reference in New Issue
Block a user