Remove call to actionWithSource.

Switch to generic action logging call.

Bug: 117860032
Test: robotests
Change-Id: Ibd7c59ac0ec8a9fa1b368b40f0453a1b42071377
This commit is contained in:
Fan Zhang
2018-11-09 14:52:42 -08:00
parent 454f05160f
commit ff47b303c4
5 changed files with 25 additions and 26 deletions

View File

@@ -16,6 +16,7 @@
package com.android.settings.dashboard;
import android.app.Activity;
import android.app.settings.SettingsEnums;
import android.content.Context;
import android.content.res.TypedArray;
import android.graphics.drawable.Icon;
@@ -211,8 +212,9 @@ public abstract class DashboardFragment extends SettingsPreferenceFragment
@Override
public void onExpandButtonClick() {
mMetricsFeatureProvider.actionWithSource(getContext(), getMetricsCategory(),
MetricsEvent.ACTION_SETTINGS_ADVANCED_BUTTON_EXPAND);
mMetricsFeatureProvider.action(SettingsEnums.PAGE_UNKNOWN,
MetricsEvent.ACTION_SETTINGS_ADVANCED_BUTTON_EXPAND,
getMetricsCategory(), null, 0);
}
protected boolean shouldForceRoundedIcon() {