• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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: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"
30        settings:searchable="false"
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        android:selectable="false"
54        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"
62        android:selectable="false"
63        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"
71        android:selectable="false"
72        settings:enableCopying="true"
73        settings:controller="com.android.settings.deviceinfo.firmwareversion.SimpleBuildNumberPreferenceController"/>
74
75</PreferenceScreen>
76