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

@@ -49,10 +49,11 @@ import java.util.List;
public class DeviceInfoSettings extends DashboardFragment implements Indexable {
public static final String DEVICE_INFO_V2_FEATURE_FLAG = "device_info_v2";
private static final String LOG_TAG = "DeviceInfoSettings";
private static final String KEY_LEGAL_CONTAINER = "legal_container";
private static final String DEVICE_INFO_V2_FEATURE_FLAG = "device_info_v2";
@Override
public int getMetricsCategory() {
@@ -127,7 +128,7 @@ public class DeviceInfoSettings extends DashboardFragment implements Indexable {
// SIM status
// Model & hardware
controllers.add(new DeviceModelPreferenceController(context, fragment));
// IMEI