Merge "Remove the prefix "Model:" from the summary of hardware." into rvc-d1-dev am: e86dd271da
am: ca05c7fabd
am: 4ff2999126
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12034261 Change-Id: I35c7c18c370db76bd1d82f319003cb164d9b7246
This commit is contained in:
@@ -24,7 +24,6 @@ import androidx.preference.Preference;
|
||||
import androidx.preference.PreferenceManager;
|
||||
import androidx.preference.PreferenceScreen;
|
||||
|
||||
import com.android.settings.R;
|
||||
import com.android.settings.core.BasePreferenceController;
|
||||
import com.android.settings.deviceinfo.HardwareInfoPreferenceController;
|
||||
|
||||
@@ -79,8 +78,6 @@ public class HardwareInfoPreferenceControllerTest {
|
||||
}
|
||||
|
||||
private boolean containBuildModel(CharSequence result) {
|
||||
final String oracle = mContext.getResources().getString(R.string.model_summary,
|
||||
Build.MODEL);
|
||||
return result.toString().contains(oracle);
|
||||
return result.toString().contains(Build.MODEL);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user