Remove the prefix "Model:" from the summary of hardware.

Fixes: 159529327
Test: run robotest and observe the UI
Change-Id: I60f4a341b427e4b619a202a440f3f2554c562a27
This commit is contained in:
Stanley Wang
2020-06-29 18:22:44 +08:00
parent 8793b373be
commit db0687c447
4 changed files with 3 additions and 8 deletions

View File

@@ -49,7 +49,7 @@ public class HardwareInfoPreferenceController extends BasePreferenceController {
@Override
public CharSequence getSummary() {
return mContext.getResources().getString(R.string.model_summary, getDeviceModel());
return getDeviceModel();
}
public static String getDeviceModel() {