Search in sources :

Example 11 with AdditionalSystemUpdatePreferenceController

use of com.android.settings.deviceinfo.AdditionalSystemUpdatePreferenceController in project android_packages_apps_Settings by SudaMod.

the class SystemDashboardFragment method buildPreferenceControllers.

private static List<AbstractPreferenceController> buildPreferenceControllers(Context context) {
    final List<AbstractPreferenceController> controllers = new ArrayList<>();
    controllers.add(new SystemUpdatePreferenceController(context, UserManager.get(context)));
    controllers.add(new AdditionalSystemUpdatePreferenceController(context));
    controllers.add(new BackupSettingsActivityPreferenceController(context));
    controllers.add(new GesturesSettingPreferenceController(context));
    return controllers;
}
Also used : AbstractPreferenceController(com.android.settingslib.core.AbstractPreferenceController) AdditionalSystemUpdatePreferenceController(com.android.settings.deviceinfo.AdditionalSystemUpdatePreferenceController) AdditionalSystemUpdatePreferenceController(com.android.settings.deviceinfo.AdditionalSystemUpdatePreferenceController) SystemUpdatePreferenceController(com.android.settings.deviceinfo.SystemUpdatePreferenceController) BackupSettingsActivityPreferenceController(com.android.settings.backup.BackupSettingsActivityPreferenceController) ArrayList(java.util.ArrayList) GesturesSettingPreferenceController(com.android.settings.gestures.GesturesSettingPreferenceController)

Example 12 with AdditionalSystemUpdatePreferenceController

use of com.android.settings.deviceinfo.AdditionalSystemUpdatePreferenceController in project platform_packages_apps_Settings by BlissRoms.

the class SystemDashboardFragment method buildPreferenceControllers.

private static List<AbstractPreferenceController> buildPreferenceControllers(Context context) {
    final List<AbstractPreferenceController> controllers = new ArrayList<>();
    controllers.add(new SystemUpdatePreferenceController(context, UserManager.get(context)));
    controllers.add(new AdditionalSystemUpdatePreferenceController(context));
    controllers.add(new BackupSettingsActivityPreferenceController(context));
    controllers.add(new GesturesSettingPreferenceController(context));
    return controllers;
}
Also used : AbstractPreferenceController(com.android.settingslib.core.AbstractPreferenceController) AdditionalSystemUpdatePreferenceController(com.android.settings.deviceinfo.AdditionalSystemUpdatePreferenceController) AdditionalSystemUpdatePreferenceController(com.android.settings.deviceinfo.AdditionalSystemUpdatePreferenceController) SystemUpdatePreferenceController(com.android.settings.deviceinfo.SystemUpdatePreferenceController) BackupSettingsActivityPreferenceController(com.android.settings.backup.BackupSettingsActivityPreferenceController) ArrayList(java.util.ArrayList) GesturesSettingPreferenceController(com.android.settings.gestures.GesturesSettingPreferenceController)

Aggregations

AdditionalSystemUpdatePreferenceController (com.android.settings.deviceinfo.AdditionalSystemUpdatePreferenceController)12 AbstractPreferenceController (com.android.settingslib.core.AbstractPreferenceController)12 ArrayList (java.util.ArrayList)12 BackupSettingsActivityPreferenceController (com.android.settings.backup.BackupSettingsActivityPreferenceController)6 BasebandVersionPreferenceController (com.android.settings.deviceinfo.BasebandVersionPreferenceController)6 BuildNumberPreferenceController (com.android.settings.deviceinfo.BuildNumberPreferenceController)6 DeviceModelPreferenceController (com.android.settings.deviceinfo.DeviceModelPreferenceController)6 FccEquipmentIdPreferenceController (com.android.settings.deviceinfo.FccEquipmentIdPreferenceController)6 FirmwareVersionPreferenceController (com.android.settings.deviceinfo.FirmwareVersionPreferenceController)6 KernelVersionPreferenceController (com.android.settings.deviceinfo.KernelVersionPreferenceController)6 ManualPreferenceController (com.android.settings.deviceinfo.ManualPreferenceController)6 SELinuxStatusPreferenceController (com.android.settings.deviceinfo.SELinuxStatusPreferenceController)6 SafetyInfoPreferenceController (com.android.settings.deviceinfo.SafetyInfoPreferenceController)6 SecurityPatchPreferenceController (com.android.settings.deviceinfo.SecurityPatchPreferenceController)6 SystemUpdatePreferenceController (com.android.settings.deviceinfo.SystemUpdatePreferenceController)6 GesturesSettingPreferenceController (com.android.settings.gestures.GesturesSettingPreferenceController)6 FeedbackPreferenceController (com.android.settings.deviceinfo.FeedbackPreferenceController)5 RegulatoryInfoPreferenceController (com.android.settings.deviceinfo.RegulatoryInfoPreferenceController)4 BlissVersionPreferenceController (com.android.settings.deviceinfo.BlissVersionPreferenceController)1 ChangelogPreferenceController (com.android.settings.deviceinfo.ChangelogPreferenceController)1