Settings: Migrate notification access screens to switch prefs.
Bug: 20916418 Change-Id: I729bc3a6f853f15780f12e7d7c9f337447e399c4
This commit is contained in:
@@ -21,6 +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.settings.R;
|
||||
|
||||
public class NotificationAccessSettings extends ManagedServiceSettings {
|
||||
@@ -40,6 +41,11 @@ public class NotificationAccessSettings extends ManagedServiceSettings {
|
||||
return c;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected int getMetricsCategory() {
|
||||
return MetricsLogger.NOTIFICATION_ACCESS;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Config getConfig() {
|
||||
return CONFIG;
|
||||
|
Reference in New Issue
Block a user