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

Unified Diff: build/android/incremental_install/java/org/chromium/incrementalinstall/Reflect.java

Issue 1729973002: Reland of Add increment install native libraries first in lookup paths (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed Created 4 years, 10 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 | « build/android/incremental_install/java/org/chromium/incrementalinstall/ClassLoaderPatcher.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/incremental_install/java/org/chromium/incrementalinstall/Reflect.java
diff --git a/build/android/incremental_install/java/org/chromium/incrementalinstall/Reflect.java b/build/android/incremental_install/java/org/chromium/incrementalinstall/Reflect.java
index 7790690aac69a68ebbc67072d3e67a0f8100d3e4..c64dc1e8a313a86604983b98b287826c0ad0e6a6 100644
--- a/build/android/incremental_install/java/org/chromium/incrementalinstall/Reflect.java
+++ b/build/android/incremental_install/java/org/chromium/incrementalinstall/Reflect.java
@@ -46,9 +46,9 @@ final class Reflect {
* Concatenates two arrays into a new array. The arrays must be of the same
* type.
*/
- static Object[] concatArrays(Object[] left, Object[] right) {
+ static Object[] concatArrays(Object[] arrType, Object[] left, Object[] right) {
Object[] result = (Object[]) Array.newInstance(
- left.getClass().getComponentType(), left.length + right.length);
+ arrType.getClass().getComponentType(), left.length + right.length);
System.arraycopy(left, 0, result, 0, left.length);
System.arraycopy(right, 0, result, left.length, right.length);
return result;
« no previous file with comments | « build/android/incremental_install/java/org/chromium/incrementalinstall/ClassLoaderPatcher.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698