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

Unified Diff: base/android/build_info.cc

Issue 1187433006: Load language .pak files directly from the apk when using splits (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@locale-res-or-file
Patch Set: Created 5 years, 6 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: base/android/build_info.cc
diff --git a/base/android/build_info.cc b/base/android/build_info.cc
index 4d3cd559edeb59c4cf63f1c3e86829bd988c9809..075b8938a8f52d2aff8089e3f1af05ba3a28eb5f 100644
--- a/base/android/build_info.cc
+++ b/base/android/build_info.cc
@@ -60,6 +60,8 @@ BuildInfo::BuildInfo(JNIEnv* env)
env, GetApplicationContext()))),
build_type_(StrDupJString(Java_BuildInfo_getBuildType(env))),
sdk_int_(Java_BuildInfo_getSdkInt(env)),
+ has_apk_splits_(Java_BuildInfo_hasApkSplits(
+ env, GetApplicationContext())),
java_exception_info_(NULL) {
}

Powered by Google App Engine
This is Rietveld 408576698