blob: 019e8fc63e1629d57e9056b9abac7f6ddc16c588 [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
Alexander Martinza6415b22022-09-01 10:37:29 +020033 <!-- ShiftOS version -->
LuK1337b8868242018-08-26 15:00:21 +020034 <Preference
Alexander Martinza6415b22022-09-01 10:37:29 +020035 android:key="shiftos_version"
36 android:title="@string/shiftos_version"
LuK1337b8868242018-08-26 15:00:21 +020037 android:summary="@string/summary_placeholder"
Alexander Martinza6415b22022-09-01 10:37:29 +020038 android:selectable="false"
LuK1337b8868242018-08-26 15:00:21 +020039 settings:enableCopying="true"
Alexander Martinza6415b22022-09-01 10:37:29 +020040 settings:controller="com.android.settings.deviceinfo.firmwareversion.ShiftOsVersionDetailPreferenceController"/>
LuK1337b8868242018-08-26 15:00:21 +020041
Fan Zhang89cea6b2019-02-22 14:52:10 -080042 <!-- Security patch -->
43 <Preference
44 android:key="security_key"
45 android:title="@string/security_patch"
46 settings:enableCopying="true"
47 settings:controller="com.android.settings.deviceinfo.firmwareversion.SecurityPatchLevelPreferenceController"/>
48
LuK1337b8868242018-08-26 15:00:21 +020049 <!-- Vendor security patch -->
Alexander Martinza6415b22022-09-01 10:37:29 +020050 <!--
LuK1337b8868242018-08-26 15:00:21 +020051 <Preference
52 android:key="vendor_security_key"
53 android:title="@*lineageos.platform:string/lineage_vendor_security_patch"
Timi8af4afe2021-05-14 18:25:20 +020054 android:selectable="false"
LuK1337b8868242018-08-26 15:00:21 +020055 settings:enableCopying="true"
56 settings:controller="com.android.settings.deviceinfo.firmwareversion.LineageVendorSecurityPatchLevelPreferenceController"/>
Alexander Martinza6415b22022-09-01 10:37:29 +020057 -->
LuK1337b8868242018-08-26 15:00:21 +020058
Fan Zhang89cea6b2019-02-22 14:52:10 -080059 <!-- Mainline module version -->
60 <Preference
61 android:key="module_version"
62 android:title="@string/module_version"
63 android:summary="@string/summary_placeholder"
64 settings:enableCopying="true"
65 settings:controller="com.android.settings.deviceinfo.firmwareversion.MainlineModuleVersionPreferenceController"/>
66
67 <!-- Baseband -->
68 <Preference
69 android:key="base_band"
70 android:title="@string/baseband_version"
71 android:summary="@string/summary_placeholder"
Stanley Wang9d3f8c42019-10-04 17:18:29 +080072 android:selectable="false"
Fan Zhang89cea6b2019-02-22 14:52:10 -080073 settings:enableCopying="true"
74 settings:controller="com.android.settings.deviceinfo.firmwareversion.BasebandVersionPreferenceController"/>
75
76 <!-- Kernel -->
77 <Preference
78 android:key="kernel_version"
79 android:title="@string/kernel_version"
80 android:summary="@string/summary_placeholder"
Stanley Wang9d3f8c42019-10-04 17:18:29 +080081 android:selectable="false"
Fan Zhang89cea6b2019-02-22 14:52:10 -080082 settings:enableCopying="true"
83 settings:controller="com.android.settings.deviceinfo.firmwareversion.KernelVersionPreferenceController"/>
84
Alexander Martinz99e1fba2023-03-20 19:45:05 +010085 <!-- Build id -->
86 <Preference
87 android:key="os_build_id"
88 android:title="@string/shiftos_build_id"
89 android:summary="@string/summary_placeholder"
90 android:selectable="false"
91 settings:enableCopying="true"
92 settings:controller="com.android.settings.deviceinfo.firmwareversion.ShiftOsBuildIdPreferenceController"/>
93
LuK1337b8868242018-08-26 15:00:21 +020094 <!-- Build date -->
95 <Preference
96 android:key="os_build_date"
97 android:title="@*lineageos.platform:string/build_date"
98 android:summary="@string/summary_placeholder"
Timi8af4afe2021-05-14 18:25:20 +020099 android:selectable="false"
LuK1337b8868242018-08-26 15:00:21 +0200100 settings:enableCopying="true"
101 settings:controller="com.android.settings.deviceinfo.firmwareversion.LineageBuildDatePreferenceController"/>
102
Fan Zhang89cea6b2019-02-22 14:52:10 -0800103 <!-- Build -->
104 <Preference
105 android:key="os_build_number"
106 android:title="@string/build_number"
107 android:summary="@string/summary_placeholder"
Stanley Wang9d3f8c42019-10-04 17:18:29 +0800108 android:selectable="false"
Fan Zhang89cea6b2019-02-22 14:52:10 -0800109 settings:enableCopying="true"
Fan Zhang89cea6b2019-02-22 14:52:10 -0800110 settings:controller="com.android.settings.deviceinfo.firmwareversion.SimpleBuildNumberPreferenceController"/>
111
Stanley Wang9d3f8c42019-10-04 17:18:29 +0800112</PreferenceScreen>