blob: 41f7733cfb2bf33e2e3ac859789dca1ca63a26ae [file] [log] [blame]
Fan Zhang89cea6b2019-02-22 14:52:10 -08001<?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"
Fan Zhang89cea6b2019-02-22 14:52:10 -080021 android:title="@string/firmware_version"
22 settings:keywords="@string/keywords_android_version">
23
24 <!-- Android version -->
25 <Preference
26 android:key="os_firmware_version"
27 android:title="@string/firmware_version"
28 android:summary="@string/summary_placeholder"
29 settings:enableCopying="true"
Edgar Wang71099e72020-03-10 19:47:40 +080030 settings:searchable="false"
Fan Zhang89cea6b2019-02-22 14:52:10 -080031 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"
Stanley Wang9d3f8c42019-10-04 17:18:29 +080053 android:selectable="false"
Fan Zhang89cea6b2019-02-22 14:52:10 -080054 settings:enableCopying="true"
55 settings:controller="com.android.settings.deviceinfo.firmwareversion.BasebandVersionPreferenceController"/>
56
57 <!-- Kernel -->
58 <Preference
59 android:key="kernel_version"
60 android:title="@string/kernel_version"
61 android:summary="@string/summary_placeholder"
Stanley Wang9d3f8c42019-10-04 17:18:29 +080062 android:selectable="false"
Fan Zhang89cea6b2019-02-22 14:52:10 -080063 settings:enableCopying="true"
64 settings:controller="com.android.settings.deviceinfo.firmwareversion.KernelVersionPreferenceController"/>
65
66 <!-- Build -->
67 <Preference
68 android:key="os_build_number"
69 android:title="@string/build_number"
70 android:summary="@string/summary_placeholder"
Stanley Wang9d3f8c42019-10-04 17:18:29 +080071 android:selectable="false"
Fan Zhang89cea6b2019-02-22 14:52:10 -080072 settings:enableCopying="true"
Fan Zhang89cea6b2019-02-22 14:52:10 -080073 settings:controller="com.android.settings.deviceinfo.firmwareversion.SimpleBuildNumberPreferenceController"/>
74
Stanley Wang9d3f8c42019-10-04 17:18:29 +080075</PreferenceScreen>