Fan Zhang | 89cea6b | 2019-02-22 14:52:10 -0800 | [diff] [blame] | 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" |
Fan Zhang | 89cea6b | 2019-02-22 14:52:10 -0800 | [diff] [blame] | 21 | 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 Wang | 71099e7 | 2020-03-10 19:47:40 +0800 | [diff] [blame] | 30 | settings:searchable="false" |
Fan Zhang | 89cea6b | 2019-02-22 14:52:10 -0800 | [diff] [blame] | 31 | settings:controller="com.android.settings.deviceinfo.firmwareversion.FirmwareVersionDetailPreferenceController"/> |
| 32 | |
Alexander Martinz | a6415b2 | 2022-09-01 10:37:29 +0200 | [diff] [blame] | 33 | <!-- ShiftOS version --> |
LuK1337 | b886824 | 2018-08-26 15:00:21 +0200 | [diff] [blame] | 34 | <Preference |
Alexander Martinz | a6415b2 | 2022-09-01 10:37:29 +0200 | [diff] [blame] | 35 | android:key="shiftos_version" |
| 36 | android:title="@string/shiftos_version" |
LuK1337 | b886824 | 2018-08-26 15:00:21 +0200 | [diff] [blame] | 37 | android:summary="@string/summary_placeholder" |
Alexander Martinz | a6415b2 | 2022-09-01 10:37:29 +0200 | [diff] [blame] | 38 | android:selectable="false" |
LuK1337 | b886824 | 2018-08-26 15:00:21 +0200 | [diff] [blame] | 39 | settings:enableCopying="true" |
Alexander Martinz | a6415b2 | 2022-09-01 10:37:29 +0200 | [diff] [blame] | 40 | settings:controller="com.android.settings.deviceinfo.firmwareversion.ShiftOsVersionDetailPreferenceController"/> |
LuK1337 | b886824 | 2018-08-26 15:00:21 +0200 | [diff] [blame] | 41 | |
Fan Zhang | 89cea6b | 2019-02-22 14:52:10 -0800 | [diff] [blame] | 42 | <!-- 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 | |
LuK1337 | b886824 | 2018-08-26 15:00:21 +0200 | [diff] [blame] | 49 | <!-- Vendor security patch --> |
Alexander Martinz | a6415b2 | 2022-09-01 10:37:29 +0200 | [diff] [blame] | 50 | <!-- |
LuK1337 | b886824 | 2018-08-26 15:00:21 +0200 | [diff] [blame] | 51 | <Preference |
| 52 | android:key="vendor_security_key" |
| 53 | android:title="@*lineageos.platform:string/lineage_vendor_security_patch" |
Timi | 8af4afe | 2021-05-14 18:25:20 +0200 | [diff] [blame] | 54 | android:selectable="false" |
LuK1337 | b886824 | 2018-08-26 15:00:21 +0200 | [diff] [blame] | 55 | settings:enableCopying="true" |
| 56 | settings:controller="com.android.settings.deviceinfo.firmwareversion.LineageVendorSecurityPatchLevelPreferenceController"/> |
Alexander Martinz | a6415b2 | 2022-09-01 10:37:29 +0200 | [diff] [blame] | 57 | --> |
LuK1337 | b886824 | 2018-08-26 15:00:21 +0200 | [diff] [blame] | 58 | |
Fan Zhang | 89cea6b | 2019-02-22 14:52:10 -0800 | [diff] [blame] | 59 | <!-- 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 Wang | 9d3f8c4 | 2019-10-04 17:18:29 +0800 | [diff] [blame] | 72 | android:selectable="false" |
Fan Zhang | 89cea6b | 2019-02-22 14:52:10 -0800 | [diff] [blame] | 73 | 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 Wang | 9d3f8c4 | 2019-10-04 17:18:29 +0800 | [diff] [blame] | 81 | android:selectable="false" |
Fan Zhang | 89cea6b | 2019-02-22 14:52:10 -0800 | [diff] [blame] | 82 | settings:enableCopying="true" |
| 83 | settings:controller="com.android.settings.deviceinfo.firmwareversion.KernelVersionPreferenceController"/> |
| 84 | |
Alexander Martinz | 99e1fba | 2023-03-20 19:45:05 +0100 | [diff] [blame^] | 85 | <!-- 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 | |
LuK1337 | b886824 | 2018-08-26 15:00:21 +0200 | [diff] [blame] | 94 | <!-- Build date --> |
| 95 | <Preference |
| 96 | android:key="os_build_date" |
| 97 | android:title="@*lineageos.platform:string/build_date" |
| 98 | android:summary="@string/summary_placeholder" |
Timi | 8af4afe | 2021-05-14 18:25:20 +0200 | [diff] [blame] | 99 | android:selectable="false" |
LuK1337 | b886824 | 2018-08-26 15:00:21 +0200 | [diff] [blame] | 100 | settings:enableCopying="true" |
| 101 | settings:controller="com.android.settings.deviceinfo.firmwareversion.LineageBuildDatePreferenceController"/> |
| 102 | |
Fan Zhang | 89cea6b | 2019-02-22 14:52:10 -0800 | [diff] [blame] | 103 | <!-- Build --> |
| 104 | <Preference |
| 105 | android:key="os_build_number" |
| 106 | android:title="@string/build_number" |
| 107 | android:summary="@string/summary_placeholder" |
Stanley Wang | 9d3f8c4 | 2019-10-04 17:18:29 +0800 | [diff] [blame] | 108 | android:selectable="false" |
Fan Zhang | 89cea6b | 2019-02-22 14:52:10 -0800 | [diff] [blame] | 109 | settings:enableCopying="true" |
Fan Zhang | 89cea6b | 2019-02-22 14:52:10 -0800 | [diff] [blame] | 110 | settings:controller="com.android.settings.deviceinfo.firmwareversion.SimpleBuildNumberPreferenceController"/> |
| 111 | |
Stanley Wang | 9d3f8c4 | 2019-10-04 17:18:29 +0800 | [diff] [blame] | 112 | </PreferenceScreen> |