port settings over to new metrics enum

Change-Id: I0b3efd2f4db773ccbc52bfe59ee8eb0dab9584fb
This commit is contained in:
Chris Wren
2016-01-26 18:04:01 -05:00
parent 6a83d7537d
commit 9d1bfd1e8d
143 changed files with 328 additions and 314 deletions

View File

@@ -21,7 +21,7 @@ import android.content.pm.PackageManager;
import android.provider.Settings;
import android.service.notification.NotificationListenerService;
import com.android.internal.logging.MetricsLogger;
import com.android.internal.logging.MetricsProto.MetricsEvent;
import com.android.settings.R;
public class NotificationAccessSettings extends ManagedServiceSettings {
@@ -43,7 +43,7 @@ public class NotificationAccessSettings extends ManagedServiceSettings {
@Override
protected int getMetricsCategory() {
return MetricsLogger.NOTIFICATION_ACCESS;
return MetricsEvent.NOTIFICATION_ACCESS;
}
@Override