Kaydet (Commit) c0bc0003 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

RTFM for Arrays.copyOfRange()

Change-Id: Ie0d7bd95207aafb269f23974b8e90fa0b50fdb86
üst 2c619267
......@@ -218,7 +218,7 @@ public class Bootstrap extends NativeActivity
while (argv.length > 0 &&
argv[0].matches("[A-Z_]+=.*")) {
putenv(argv[0]);
argv = Arrays.copyOfRange(argv, 1, argv.length-1);
argv = Arrays.copyOfRange(argv, 1, argv.length);
}
// argv[0] will be replaced by android_main() in lo-bootstrap.c by the
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment