| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| Copyright (C) 2019 The Android Open Source Project |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| <PreferenceScreen |
| xmlns:android="http://schemas.android.com/apk/res/android" |
| xmlns:settings="http://schemas.android.com/apk/res-auto" |
| android:title="@string/firmware_version" |
| settings:keywords="@string/keywords_android_version"> |
| |
| <com.android.settingslib.widget.LayoutPreference |
| android:key="pref_app_header" |
| android:layout="@layout/leaf_logo_header" |
| settings:allowDividerBelow="true"/> |
| |
| <!-- Android version --> |
| <Preference |
| android:key="os_firmware_version" |
| android:title="@string/firmware_version" |
| android:summary="@string/summary_placeholder" |
| settings:enableCopying="true" |
| settings:searchable="false" |
| settings:controller="com.android.settings.deviceinfo.firmwareversion.FirmwareVersionDetailPreferenceController"/> |
| |
| <!-- Leaf version --> |
| <Preference |
| android:key="leaf_version" |
| android:title="@string/leaf_version" |
| android:summary="@string/summary_placeholder" |
| settings:enableCopying="true" |
| settings:controller="com.android.settings.deviceinfo.firmwareversion.LeafVersionDetailPreferenceController"/> |
| |
| <!-- Security patch --> |
| <Preference |
| android:key="security_key" |
| android:title="@string/security_patch" |
| settings:enableCopying="true" |
| settings:controller="com.android.settings.deviceinfo.firmwareversion.SecurityPatchLevelPreferenceController"/> |
| |
| <!-- Vendor security patch --> |
| <Preference |
| android:key="vendor_security_key" |
| android:title="@string/leaf_vendor_security_patch" |
| android:selectable="false" |
| settings:enableCopying="true" |
| settings:controller="com.android.settings.deviceinfo.firmwareversion.LeafVendorSecurityPatchLevelPreferenceController"/> |
| |
| <!-- Baseband --> |
| <Preference |
| android:key="base_band" |
| android:title="@string/baseband_version" |
| android:summary="@string/summary_placeholder" |
| android:selectable="false" |
| settings:enableCopying="true" |
| settings:controller="com.android.settings.deviceinfo.firmwareversion.BasebandVersionPreferenceController"/> |
| |
| <!-- Kernel --> |
| <Preference |
| android:key="kernel_version" |
| android:title="@string/kernel_version" |
| android:summary="@string/summary_placeholder" |
| android:selectable="false" |
| settings:enableCopying="true" |
| settings:controller="com.android.settings.deviceinfo.firmwareversion.KernelVersionPreferenceController"/> |
| |
| <!-- Build date --> |
| <Preference |
| android:key="os_build_date" |
| android:title="@string/build_date" |
| android:summary="@string/summary_placeholder" |
| settings:enableCopying="true" |
| settings:controller="com.android.settings.deviceinfo.firmwareversion.LeafBuildDatePreferenceController"/> |
| |
| <!-- Build --> |
| <Preference |
| android:key="os_build_number" |
| android:title="@string/build_number" |
| android:summary="@string/summary_placeholder" |
| android:selectable="false" |
| settings:enableCopying="true" |
| settings:controller="com.android.settings.deviceinfo.firmwareversion.SimpleBuildNumberPreferenceController"/> |
| |
| </PreferenceScreen> |