1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3 Copyright (C) 2019 The Android Open Source Project 4 5 Licensed under the Apache License, Version 2.0 (the "License"); 6 you may not use this file except in compliance with the License. 7 You may obtain a copy of the License at 8 9 http://www.apache.org/licenses/LICENSE-2.0 10 11 Unless required by applicable law or agreed to in writing, software 12 distributed under the License is distributed on an "AS IS" BASIS, 13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 See the License for the specific language governing permissions and 15 limitations under the License. 16 --> 17 18<PreferenceScreen 19 xmlns:android="http://schemas.android.com/apk/res/android" 20 xmlns:settings="http://schemas.android.com/apk/res-auto" 21 android:key="firmware_version_screen" 22 android:title="@string/firmware_version" 23 settings:keywords="@string/keywords_android_version"> 24 25 <!-- Android version --> 26 <Preference 27 android:key="os_firmware_version" 28 android:title="@string/firmware_version" 29 android:summary="@string/summary_placeholder" 30 settings:enableCopying="true" 31 settings:controller="com.android.settings.deviceinfo.firmwareversion.FirmwareVersionDetailPreferenceController"/> 32 33 <!-- Security patch --> 34 <Preference 35 android:key="security_key" 36 android:title="@string/security_patch" 37 settings:enableCopying="true" 38 settings:controller="com.android.settings.deviceinfo.firmwareversion.SecurityPatchLevelPreferenceController"/> 39 40 <!-- Mainline module version --> 41 <Preference 42 android:key="module_version" 43 android:title="@string/module_version" 44 android:summary="@string/summary_placeholder" 45 settings:enableCopying="true" 46 settings:controller="com.android.settings.deviceinfo.firmwareversion.MainlineModuleVersionPreferenceController"/> 47 48 <!-- Baseband --> 49 <Preference 50 android:key="base_band" 51 android:title="@string/baseband_version" 52 android:summary="@string/summary_placeholder" 53 settings:enableCopying="true" 54 settings:controller="com.android.settings.deviceinfo.firmwareversion.BasebandVersionPreferenceController"/> 55 56 <!-- Kernel --> 57 <Preference 58 android:key="kernel_version" 59 android:title="@string/kernel_version" 60 android:summary="@string/summary_placeholder" 61 settings:enableCopying="true" 62 settings:controller="com.android.settings.deviceinfo.firmwareversion.KernelVersionPreferenceController"/> 63 64 <!-- Build --> 65 <Preference 66 android:key="os_build_number" 67 android:title="@string/build_number" 68 android:summary="@string/summary_placeholder" 69 settings:enableCopying="true" 70 settings:controller="com.android.settings.deviceinfo.firmwareversion.SimpleBuildNumberPreferenceController"/> 71 72</PreferenceScreen>