Display FCC id for LTE in Settings.

If ro.ril.fccid is set by RIL, display it at Settings -> About Tablet -> FCC Equipment ID.

bug:4965501
Change-Id: I920ab071bf1997c4fbf3ce81f88e24f512d004c3
This commit is contained in:
John Wang
2011-06-30 14:31:44 -07:00
parent e3cfa9bc55
commit f44308a78d
3 changed files with 36 additions and 20 deletions

View File

@@ -4,9 +4,9 @@
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.
@@ -19,20 +19,20 @@
<!-- System update settings - launches activity -->
<PreferenceScreen android:key="system_update_settings"
android:title="@string/system_update_settings_list_item_title"
android:title="@string/system_update_settings_list_item_title"
android:summary="@string/system_update_settings_list_item_summary">
<intent android:action="android.settings.SYSTEM_UPDATE_SETTINGS" />
</PreferenceScreen>
<!-- Device status - launches activity -->
<PreferenceScreen android:key="status_info"
android:title="@string/device_status"
android:title="@string/device_status"
android:summary="@string/device_status_summary">
<intent android:action="android.intent.action.MAIN"
android:targetPackage="com.android.settings"
android:targetClass="com.android.settings.deviceinfo.Status" />
</PreferenceScreen>
<PreferenceScreen
android:key="power_usage"
android:fragment="com.android.settings.fuelgauge.PowerUsageSummary"
@@ -44,7 +44,7 @@
<PreferenceScreen
android:key="container"
android:title="@string/legal_information">
<!-- Note: The titles given here probably won't be used. Instead, we programmatically
fill the title with the label of the activity with the corresponding action.
If there is not an activity for an action, the item will be removed from the
@@ -72,7 +72,7 @@
</PreferenceScreen>
</PreferenceScreen>
<PreferenceScreen
android:key="safetylegal"
android:title="@string/settings_safetylegal_title">
@@ -80,7 +80,7 @@
</PreferenceScreen>
<!-- Contributors -->
<!--
<!--
<PreferenceScreen
android:key="contributors"
android:title="@string/contributors_title">
@@ -89,37 +89,43 @@
-->
<!-- System Tutorial - launches activity -->
<PreferenceScreen android:key="system_tutorial"
android:title="@string/system_tutorial_list_item_title"
android:title="@string/system_tutorial_list_item_title"
android:summary="@string/system_tutorial_list_item_summary">
<intent android:action="android.intent.action.SYSTEM_TUTORIAL" />
</PreferenceScreen>
<!-- Device hardware model -->
<Preference android:key="device_model"
<Preference android:key="device_model"
style="?android:preferenceInformationStyle"
android:title="@string/model_number"
android:summary="@string/device_info_default"/>
<!-- Device firmware version -->
<Preference android:key="firmware_version"
<Preference android:key="firmware_version"
style="?android:preferenceInformationStyle"
android:title="@string/firmware_version"
android:summary="@string/device_info_default"/>
<!-- Device FCC equipment id -->
<Preference android:key="fcc_equipment_id"
style="?android:preferenceInformationStyle"
android:title="@string/fcc_equipment_id"
android:summary="@string/device_info_default"/>
<!-- Device Baseband version -->
<Preference android:key="baseband_version"
<Preference android:key="baseband_version"
style="?android:preferenceInformationStyle"
android:title="@string/baseband_version"
android:summary="@string/device_info_default"/>
<!-- Device Kernel version -->
<Preference android:key="kernel_version"
<Preference android:key="kernel_version"
style="?android:preferenceInformationStyle"
android:title="@string/kernel_version"
android:summary="@string/device_info_default"/>
<!-- Detailed build version -->
<Preference android:key="build_number"
<Preference android:key="build_number"
style="?android:preferenceInformationStyle"
android:title="@string/build_number"
android:summary="@string/device_info_default"/>