Update action log metircs of app optimize mode.

Bug: 317329360
Test: manual
Change-Id: Id4cd610a5bcc7988ecbd4545f5ef77a5253aac33
This commit is contained in:
mxyyiyi
2023-12-21 17:22:27 +08:00
parent a579912892
commit 06fa244255
4 changed files with 71 additions and 8 deletions

View File

@@ -413,9 +413,9 @@ public class AdvancedPowerUsageDetailTest {
TimeUnit.SECONDS.sleep(1);
verify(mMetricsFeatureProvider)
.action(
SettingsEnums.OPEN_APP_BATTERY_USAGE,
SettingsEnums.LEAVE_APP_BATTERY_USAGE,
SettingsEnums.ACTION_APP_BATTERY_USAGE_ALLOW_BACKGROUND,
SettingsEnums.OPEN_APP_BATTERY_USAGE,
SettingsEnums.FUELGAUGE_POWER_USAGE_DETAIL,
packageName,
/* consumed battery */ 0);
}