Index: base/sys_info_android.cc |
diff --git a/base/sys_info_android.cc b/base/sys_info_android.cc |
index ab7c05d7c6f00686baac50e539256f95a728ff92..92eefef6527b0ad29a44be05663e1bf7a9b02442 100644 |
--- a/base/sys_info_android.cc |
+++ b/base/sys_info_android.cc |
@@ -17,11 +17,12 @@ |
namespace { |
// Default version of Android to fall back to when actual version numbers |
-// cannot be acquired. This is an obviously invalid version number. Code |
-// doing version comparison should treat it as so and fail all comparisons. |
-const int kDefaultAndroidMajorVersion = 0; |
-const int kDefaultAndroidMinorVersion = 0; |
-const int kDefaultAndroidBugfixVersion = 0; |
+// cannot be acquired. Use the latest Android release with a higher bug fix |
+// version to avoid unnecessarily comparison errors with the latest release. |
+// This should be manually kept up-to-date on each Android release. |
+const int kDefaultAndroidMajorVersion = 4; |
+const int kDefaultAndroidMinorVersion = 4; |
+const int kDefaultAndroidBugfixVersion = 99; |
// Parse out the OS version numbers from the system properties. |
void ParseOSVersionNumbers(const char* os_version_str, |