Search in sources :

Example 1 with EmergencyBroadcastPreferenceController

use of com.android.settings.notification.EmergencyBroadcastPreferenceController in project android_packages_apps_Settings by omnirom.

the class AppAndNotificationDashboardFragment method buildPreferenceControllers.

private static List<AbstractPreferenceController> buildPreferenceControllers(Context context, Application app, Fragment host) {
    final List<AbstractPreferenceController> controllers = new ArrayList<>();
    controllers.add(new EmergencyBroadcastPreferenceController(context, "app_and_notif_cell_broadcast_settings"));
    controllers.add(new SpecialAppAccessPreferenceController(context));
    controllers.add(new AppPermissionsPreferenceController(context));
    controllers.add(new RecentAppsPreferenceController(context, app, host));
    return controllers;
}
Also used : AbstractPreferenceController(com.android.settingslib.core.AbstractPreferenceController) EmergencyBroadcastPreferenceController(com.android.settings.notification.EmergencyBroadcastPreferenceController) ArrayList(java.util.ArrayList)

Example 2 with EmergencyBroadcastPreferenceController

use of com.android.settings.notification.EmergencyBroadcastPreferenceController in project android_packages_apps_Settings by SudaMod.

the class AppAndNotificationDashboardFragment method buildPreferenceControllers.

private static List<AbstractPreferenceController> buildPreferenceControllers(Context context, Application app, Fragment host) {
    final List<AbstractPreferenceController> controllers = new ArrayList<>();
    controllers.add(new EmergencyBroadcastPreferenceController(context, "app_and_notif_cell_broadcast_settings"));
    controllers.add(new SpecialAppAccessPreferenceController(context));
    controllers.add(new AppPermissionsPreferenceController(context));
    controllers.add(new RecentAppsPreferenceController(context, app, host));
    return controllers;
}
Also used : AbstractPreferenceController(com.android.settingslib.core.AbstractPreferenceController) EmergencyBroadcastPreferenceController(com.android.settings.notification.EmergencyBroadcastPreferenceController) ArrayList(java.util.ArrayList)

Example 3 with EmergencyBroadcastPreferenceController

use of com.android.settings.notification.EmergencyBroadcastPreferenceController in project Resurrection_packages_apps_Settings by ResurrectionRemix.

the class AppAndNotificationDashboardFragment method buildPreferenceControllers.

private static List<AbstractPreferenceController> buildPreferenceControllers(Context context) {
    final List<AbstractPreferenceController> controllers = new ArrayList<>();
    controllers.add(new EmergencyBroadcastPreferenceController(context, "app_and_notif_cell_broadcast_settings"));
    return controllers;
}
Also used : AbstractPreferenceController(com.android.settingslib.core.AbstractPreferenceController) EmergencyBroadcastPreferenceController(com.android.settings.notification.EmergencyBroadcastPreferenceController) ArrayList(java.util.ArrayList)

Example 4 with EmergencyBroadcastPreferenceController

use of com.android.settings.notification.EmergencyBroadcastPreferenceController in project android_packages_apps_Settings by LineageOS.

the class AppAndNotificationDashboardFragment method buildPreferenceControllers.

private static List<AbstractPreferenceController> buildPreferenceControllers(Context context, Application app, Fragment host) {
    final List<AbstractPreferenceController> controllers = new ArrayList<>();
    controllers.add(new EmergencyBroadcastPreferenceController(context, "app_and_notif_cell_broadcast_settings"));
    controllers.add(new SpecialAppAccessPreferenceController(context));
    controllers.add(new AppPermissionsPreferenceController(context));
    controllers.add(new RecentAppsPreferenceController(context, app, host));
    return controllers;
}
Also used : AbstractPreferenceController(com.android.settingslib.core.AbstractPreferenceController) EmergencyBroadcastPreferenceController(com.android.settings.notification.EmergencyBroadcastPreferenceController) ArrayList(java.util.ArrayList)

Example 5 with EmergencyBroadcastPreferenceController

use of com.android.settings.notification.EmergencyBroadcastPreferenceController in project android_packages_apps_Settings by DirtyUnicorns.

the class AppAndNotificationDashboardFragment method buildPreferenceControllers.

private static List<AbstractPreferenceController> buildPreferenceControllers(Context context, Application app, Fragment host) {
    final List<AbstractPreferenceController> controllers = new ArrayList<>();
    controllers.add(new EmergencyBroadcastPreferenceController(context, "app_and_notif_cell_broadcast_settings"));
    controllers.add(new SpecialAppAccessPreferenceController(context));
    controllers.add(new AppPermissionsPreferenceController(context));
    controllers.add(new RecentAppsPreferenceController(context, app, host));
    return controllers;
}
Also used : AbstractPreferenceController(com.android.settingslib.core.AbstractPreferenceController) EmergencyBroadcastPreferenceController(com.android.settings.notification.EmergencyBroadcastPreferenceController) ArrayList(java.util.ArrayList)

Aggregations

EmergencyBroadcastPreferenceController (com.android.settings.notification.EmergencyBroadcastPreferenceController)7 AbstractPreferenceController (com.android.settingslib.core.AbstractPreferenceController)7 ArrayList (java.util.ArrayList)7