Add record for anomaly detect request source and clean up unused function.
Bug: 315905559 Test: make RunSettingsGoogleRoboTests ROBOTEST_FILTER="com.google.android.settings.fuelgauge.*" Change-Id: I21a13a7910b21b27aac58143bd41c77e87c71953
This commit is contained in:
@@ -135,7 +135,10 @@ public final class BatteryUsageDataLoader {
|
||||
.isEmpty()))) {
|
||||
FeatureFactory.getFeatureFactory()
|
||||
.getPowerUsageFeatureProvider()
|
||||
.detectSettingsAnomaly(context, /* displayDrain= */ 0);
|
||||
.detectSettingsAnomaly(
|
||||
context,
|
||||
/* displayDrain= */ 0,
|
||||
DetectRequestSourceType.TYPE_DATA_LOADER);
|
||||
}
|
||||
});
|
||||
if (batteryLevelData == null) {
|
||||
|
||||
Reference in New Issue
Block a user