Search in sources :

Example 6 with DefaultAssistPreferenceController

use of com.android.settings.applications.assist.DefaultAssistPreferenceController in project android_packages_apps_Settings by SudaMod.

the class DefaultAppSettings method buildPreferenceControllers.

private static List<AbstractPreferenceController> buildPreferenceControllers(Context context) {
    final List<AbstractPreferenceController> controllers = new ArrayList<>();
    controllers.add(new DefaultAssistPreferenceController(context, KEY_ASSIST_VOICE_INPUT, false));
    controllers.add(new DefaultBrowserPreferenceController(context));
    controllers.add(new DefaultWorkBrowserPreferenceController(context));
    controllers.add(new DefaultPhonePreferenceController(context));
    controllers.add(new DefaultWorkPhonePreferenceController(context));
    controllers.add(new DefaultSmsPreferenceController(context));
    controllers.add(new DefaultEmergencyPreferenceController(context));
    controllers.add(new DefaultHomePreferenceController(context));
    controllers.add(new DefaultPaymentSettingsPreferenceController(context));
    return controllers;
}
Also used : DefaultWorkPhonePreferenceController(com.android.settings.applications.defaultapps.DefaultWorkPhonePreferenceController) DefaultPhonePreferenceController(com.android.settings.applications.defaultapps.DefaultPhonePreferenceController) DefaultBrowserPreferenceController(com.android.settings.applications.defaultapps.DefaultBrowserPreferenceController) AbstractPreferenceController(com.android.settingslib.core.AbstractPreferenceController) DefaultHomePreferenceController(com.android.settings.applications.defaultapps.DefaultHomePreferenceController) DefaultPaymentSettingsPreferenceController(com.android.settings.applications.defaultapps.DefaultPaymentSettingsPreferenceController) ArrayList(java.util.ArrayList) DefaultWorkBrowserPreferenceController(com.android.settings.applications.defaultapps.DefaultWorkBrowserPreferenceController) DefaultEmergencyPreferenceController(com.android.settings.applications.defaultapps.DefaultEmergencyPreferenceController) DefaultAssistPreferenceController(com.android.settings.applications.assist.DefaultAssistPreferenceController) DefaultSmsPreferenceController(com.android.settings.applications.defaultapps.DefaultSmsPreferenceController)

Aggregations

DefaultAssistPreferenceController (com.android.settings.applications.assist.DefaultAssistPreferenceController)6 DefaultBrowserPreferenceController (com.android.settings.applications.defaultapps.DefaultBrowserPreferenceController)6 DefaultEmergencyPreferenceController (com.android.settings.applications.defaultapps.DefaultEmergencyPreferenceController)6 DefaultHomePreferenceController (com.android.settings.applications.defaultapps.DefaultHomePreferenceController)6 DefaultPaymentSettingsPreferenceController (com.android.settings.applications.defaultapps.DefaultPaymentSettingsPreferenceController)6 DefaultPhonePreferenceController (com.android.settings.applications.defaultapps.DefaultPhonePreferenceController)6 DefaultSmsPreferenceController (com.android.settings.applications.defaultapps.DefaultSmsPreferenceController)6 DefaultWorkBrowserPreferenceController (com.android.settings.applications.defaultapps.DefaultWorkBrowserPreferenceController)6 DefaultWorkPhonePreferenceController (com.android.settings.applications.defaultapps.DefaultWorkPhonePreferenceController)6 AbstractPreferenceController (com.android.settingslib.core.AbstractPreferenceController)6 ArrayList (java.util.ArrayList)6