Update DeviceModelPreferenceController

- Added serial number to the dialog for about phone v2
 - prefixed model to the preference summary for about phone v2

Bug: 36458278
Test: make RunSettingsRoboTests -j40
Change-Id: Ic2950adcecf940ad8c9256688dc70b662ad5f0d6
This commit is contained in:
jeffreyhuang
2017-10-19 16:44:59 -07:00
parent 931681a633
commit f6d360ebb5
8 changed files with 58 additions and 11 deletions

View File

@@ -39,6 +39,20 @@
android:paddingBottom="24dp"
android:textAppearance="@android:style/TextAppearance.Material.Body2" />
<TextView
android:id="@+id/serial_number_label"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textAppearance="@android:style/TextAppearance.Material.Body1"
android:textColor="?android:attr/textColorSecondary"
android:text="@string/status_serial_number" />
<TextView
android:id="@+id/serial_number_value"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingBottom="24dp"
android:textAppearance="@android:style/TextAppearance.Material.Body2" />
<TextView
android:id="@+id/hardware_rev_label"
android:layout_width="match_parent"