RTFM for Arrays.copyOfRange()
Change-Id: Ie0d7bd95207aafb269f23974b8e90fa0b50fdb86
This commit is contained in:
parent
2c619267d6
commit
c0bc0003ee
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user