Added an item to display manufacturer in device info page.
For: AIA-438
Change-Id: Iae28759653089cf6fc757c1f76b7ee39638144b0
Signed-off-by: Daniel Leung <daniel.leung@intel.com>
<!-- About phone screen, status item label [CHAR LIMIT=60] -->
<string name="security_patch">Android security patch level</string>
<!-- About phone screen, status item label [CHAR LIMIT=40] -->
+ <string name="device_manufacturer">Manufacturer</string>
+ <!-- About phone screen, status item label [CHAR LIMIT=40] -->
<string name="model_number">Model number</string>
<!-- About phone screen, fcc equipment id label [CHAR LIMIT=40] -->
<string name="fcc_equipment_id">Equipment ID</string>
android:title="@string/device_feedback">
</PreferenceScreen>
+ <!-- Device manufacturer -->
+ <Preference android:key="device_manufacturer"
+ style="?android:preferenceInformationStyle"
+ android:title="@string/device_manufacturer"
+ android:summary="@string/device_info_default"/>
+
<!-- Device hardware model -->
<Preference android:key="device_model"
style="?android:preferenceInformationStyle"
private static final String PROPERTY_EQUIPMENT_ID = "ro.ril.fccid";
private static final String KEY_DEVICE_FEEDBACK = "device_feedback";
private static final String KEY_SAFETY_LEGAL = "safetylegal";
+ private static final String KEY_DEVICE_MANUFACTURER = "device_manufacturer";
static final int TAPS_TO_BE_A_DEVELOPER = 7;
setStringSummary(KEY_BUILD_NUMBER, Build.DISPLAY);
findPreference(KEY_BUILD_NUMBER).setEnabled(true);
findPreference(KEY_KERNEL_VERSION).setSummary(getFormattedKernelVersion());
+ setStringSummary(KEY_DEVICE_MANUFACTURER, Build.MANUFACTURER);
if (!SELinux.isSELinuxEnabled()) {
String status = getResources().getString(R.string.selinux_status_disabled);