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

Unified Diff: base/android/build_info.cc

Issue 1236283002: [Android] Remove deprecated SysInfo property retrieval (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Code review Created 5 years, 4 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
« no previous file with comments | « base/android/build_info.h ('k') | base/android/java/src/org/chromium/base/BuildInfo.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/android/build_info.cc
diff --git a/base/android/build_info.cc b/base/android/build_info.cc
index 68824b4c97b599b0462bf3cb32ef787f2d5d5d38..9fc0236e8a7d22f74b62821259ae0e771227748f 100644
--- a/base/android/build_info.cc
+++ b/base/android/build_info.cc
@@ -47,9 +47,8 @@ BuildInfo::BuildInfo(JNIEnv* env)
manufacturer_(StrDupJString(Java_BuildInfo_getDeviceManufacturer(env))),
model_(StrDupJString(Java_BuildInfo_getDeviceModel(env))),
brand_(StrDupJString(Java_BuildInfo_getBrand(env))),
- android_build_id_(StrDupJString(Java_BuildInfo_getAndroidBuildId(env))),
- android_build_fp_(StrDupJString(
- Java_BuildInfo_getAndroidBuildFingerprint(env))),
+ build_id_(StrDupJString(Java_BuildInfo_getBuildId(env))),
+ build_fp_(StrDupJString(Java_BuildInfo_getBuildFingerprint(env))),
package_version_code_(StrDupJString(Java_BuildInfo_getPackageVersionCode(
env, GetApplicationContext()))),
package_version_name_(StrDupJString(Java_BuildInfo_getPackageVersionName(
@@ -59,7 +58,13 @@ BuildInfo::BuildInfo(JNIEnv* env)
package_name_(StrDupJString(Java_BuildInfo_getPackageName(
env, GetApplicationContext()))),
build_type_(StrDupJString(Java_BuildInfo_getBuildType(env))),
+ build_version_release_(StrDupJString(
+ Java_BuildInfo_getBuildVersionRelease(env))),
+ build_version_codename_(StrDupJString(
+ Java_BuildInfo_getBuildVersionCodename(env))),
sdk_int_(Java_BuildInfo_getSdkInt(env)),
+ large_memory_class_(Java_BuildInfo_getLargeMemoryClass(
+ env, GetApplicationContext())),
has_language_apk_splits_(Java_BuildInfo_hasLanguageApkSplits(
env, GetApplicationContext())),
java_exception_info_(NULL) {
« no previous file with comments | « base/android/build_info.h ('k') | base/android/java/src/org/chromium/base/BuildInfo.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698