Migrate all MetricsProto enums to SettingsEnums

Bug: 122855168
Test: rebuild
Change-Id: I962d9a71179f86b7cae9dc5e9a00e0aa1557dc76
This commit is contained in:
Fan Zhang
2019-01-16 13:49:47 -08:00
parent dbaa5459b8
commit 31b210017b
502 changed files with 1184 additions and 1347 deletions

View File

@@ -16,8 +16,6 @@
package com.android.settings.widget;
import static com.android.internal.logging.nano.MetricsProto.MetricsEvent.ACTION_OPEN_APP_NOTIFICATION_SETTING;
import android.annotation.IdRes;
import android.annotation.UserIdInt;
import android.app.ActionBar;
@@ -359,7 +357,7 @@ public class EntityHeaderController {
button.setOnClickListener(v -> {
FeatureFactory.getFactory(mAppContext).getMetricsFeatureProvider()
.action(SettingsEnums.PAGE_UNKNOWN,
ACTION_OPEN_APP_NOTIFICATION_SETTING,
SettingsEnums.ACTION_OPEN_APP_NOTIFICATION_SETTING,
mMetricsCategory,
null, 0);
mFragment.startActivity(mAppNotifPrefIntent);