[Battery Usage U] Add logging for selecting by the dropdown in battery usage page

Bug: 267270271
Fix: 267270271
Test: presubmit
Change-Id: I5c74afb48188b8bab2d4d1d087bc62db3baa4963
This commit is contained in:
Zaiyue Xue
2023-01-31 20:00:29 +08:00
parent 51357872de
commit 495d6d5030

View File

@@ -163,6 +163,10 @@ public class BatteryUsageBreakdownController extends BasePreferenceController
mHandler.post(() -> { mHandler.post(() -> {
removeAndCacheAllPreferences(); removeAndCacheAllPreferences();
addAllPreferences(); addAllPreferences();
mMetricsFeatureProvider.action(
mPrefContext,
SettingsEnums.ACTION_BATTERY_USAGE_SPINNER,
mSpinnerPosition);
}); });
} }
} }