Search in sources :

Example 1 with ROMVersionPreferenceController

use of com.android.settings.deviceinfo.ROMVersionPreferenceController in project android_packages_apps_Settings by DirtyUnicorns.

the class DeviceInfoSettings method buildPreferenceControllers.

private static List<AbstractPreferenceController> buildPreferenceControllers(Context context, Activity activity, Fragment fragment, Lifecycle lifecycle) {
    final List<AbstractPreferenceController> controllers = new ArrayList<>();
    controllers.add(new BuildNumberPreferenceController(context, activity, fragment, lifecycle));
    controllers.add(new AdditionalSystemUpdatePreferenceController(context));
    controllers.add(new ManualPreferenceController(context));
    // controllers.add(new FeedbackPreferenceController(fragment, context));
    controllers.add(new KernelVersionPreferenceController(context));
    controllers.add(new BasebandVersionPreferenceController(context));
    controllers.add(new ChangelogPreferenceController(context));
    controllers.add(new FirmwareVersionPreferenceController(context, lifecycle));
    // controllers.add(new RegulatoryInfoPreferenceController(context));
    controllers.add(new DeviceModelPreferenceController(context, fragment));
    controllers.add(new SecurityPatchPreferenceController(context));
    controllers.add(new FccEquipmentIdPreferenceController(context));
    controllers.add(new SELinuxStatusPreferenceController(context));
    controllers.add(new SafetyInfoPreferenceController(context));
    controllers.add(new ROMVersionPreferenceController(context));
    return controllers;
}
Also used : ChangelogPreferenceController(com.android.settings.deviceinfo.ChangelogPreferenceController) AbstractPreferenceController(com.android.settingslib.core.AbstractPreferenceController) ArrayList(java.util.ArrayList) ManualPreferenceController(com.android.settings.deviceinfo.ManualPreferenceController) SecurityPatchPreferenceController(com.android.settings.deviceinfo.SecurityPatchPreferenceController) ROMVersionPreferenceController(com.android.settings.deviceinfo.ROMVersionPreferenceController) BasebandVersionPreferenceController(com.android.settings.deviceinfo.BasebandVersionPreferenceController) AdditionalSystemUpdatePreferenceController(com.android.settings.deviceinfo.AdditionalSystemUpdatePreferenceController) KernelVersionPreferenceController(com.android.settings.deviceinfo.KernelVersionPreferenceController) FccEquipmentIdPreferenceController(com.android.settings.deviceinfo.FccEquipmentIdPreferenceController) BuildNumberPreferenceController(com.android.settings.deviceinfo.BuildNumberPreferenceController) FirmwareVersionPreferenceController(com.android.settings.deviceinfo.FirmwareVersionPreferenceController) SafetyInfoPreferenceController(com.android.settings.deviceinfo.SafetyInfoPreferenceController) SELinuxStatusPreferenceController(com.android.settings.deviceinfo.SELinuxStatusPreferenceController) DeviceModelPreferenceController(com.android.settings.deviceinfo.DeviceModelPreferenceController)

Aggregations

AdditionalSystemUpdatePreferenceController (com.android.settings.deviceinfo.AdditionalSystemUpdatePreferenceController)1 BasebandVersionPreferenceController (com.android.settings.deviceinfo.BasebandVersionPreferenceController)1 BuildNumberPreferenceController (com.android.settings.deviceinfo.BuildNumberPreferenceController)1 ChangelogPreferenceController (com.android.settings.deviceinfo.ChangelogPreferenceController)1 DeviceModelPreferenceController (com.android.settings.deviceinfo.DeviceModelPreferenceController)1 FccEquipmentIdPreferenceController (com.android.settings.deviceinfo.FccEquipmentIdPreferenceController)1 FirmwareVersionPreferenceController (com.android.settings.deviceinfo.FirmwareVersionPreferenceController)1 KernelVersionPreferenceController (com.android.settings.deviceinfo.KernelVersionPreferenceController)1 ManualPreferenceController (com.android.settings.deviceinfo.ManualPreferenceController)1 ROMVersionPreferenceController (com.android.settings.deviceinfo.ROMVersionPreferenceController)1 SELinuxStatusPreferenceController (com.android.settings.deviceinfo.SELinuxStatusPreferenceController)1 SafetyInfoPreferenceController (com.android.settings.deviceinfo.SafetyInfoPreferenceController)1 SecurityPatchPreferenceController (com.android.settings.deviceinfo.SecurityPatchPreferenceController)1 AbstractPreferenceController (com.android.settingslib.core.AbstractPreferenceController)1 ArrayList (java.util.ArrayList)1