Index: chrome/browser/profiles/profile_io_data.cc |
diff --git a/chrome/browser/profiles/profile_io_data.cc b/chrome/browser/profiles/profile_io_data.cc |
index 83fe26b7f78a4ece728ab1205f510cdec74b3572..a5fab8b203e0ca9ed73f77e3976a6a42f4f90a0d 100644 |
--- a/chrome/browser/profiles/profile_io_data.cc |
+++ b/chrome/browser/profiles/profile_io_data.cc |
@@ -873,7 +873,7 @@ void ProfileIOData::InitializeMetricsEnabledStateOnUIThread() { |
// future to more accurately capture this state. |
chromeos::CrosSettings::Get()->GetBoolean(chromeos::kStatsReportingPref, |
&enable_metrics_); |
-#elif defined(OS_ANDROID) |
+#elif defined(ANDROID_JAVA_UI) |
// TODO(dwkang): rename or unify the pref for UMA once we have conclusion |
// in crbugs.com/246495. |
// Android has it's own preferences for metrics / crash uploading. |