Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3214)

Unified Diff: chrome/browser/ui/android/android_about_app_info.cc

Issue 1234543003: Report Android Build.MODEL in SystemProfileProto hardware_class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address jdduke's comments. Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/android/android_about_app_info.cc
diff --git a/chrome/browser/ui/android/android_about_app_info.cc b/chrome/browser/ui/android/android_about_app_info.cc
index dabb8f2ecaf02361f67cb1b562cb0a06f6f4f8b9..b3a96f708a7e7ec3f2df3c5f7123e07bb2419158 100644
--- a/chrome/browser/ui/android/android_about_app_info.cc
+++ b/chrome/browser/ui/android/android_about_app_info.cc
@@ -25,7 +25,7 @@ std::string AndroidAboutAppInfo::GetOsInfo() {
// Append information about the device.
bool semicolon_inserted = false;
std::string android_build_codename = base::SysInfo::GetAndroidBuildCodename();
- std::string android_device_name = base::SysInfo::GetDeviceName();
+ std::string android_device_name = base::SysInfo::HardwareModelName();
if ("REL" == android_build_codename && android_device_name.size() > 0) {
android_info_str += "; " + android_device_name;
semicolon_inserted = true;

Powered by Google App Engine
This is Rietveld 408576698