Skip to content

Commit

Permalink
Pass Android tmpdir to GraalVM 22.1/17 (#1151)
Browse files Browse the repository at this point in the history
Co-authored-by: jose.pereda <jose.pereda@gluonhq.com>
  • Loading branch information
José Pereda and jperedadnr authored Jun 7, 2022
1 parent b8244c5 commit 935fe8b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ public void surfaceCreated(SurfaceHolder holder) {
Log.v(TAG, "We will now launch Graal in a separate thread");
final String[] launchArgs = {
"-Duser.home=" + getApplicationInfo().dataDir,
"-Dandroid.tmpdir=" + getApplicationInfo().dataDir,
"-Djava.io.tmpdir=" + getApplicationInfo().dataDir,
"-Duser.timezone=" + TimeZone.getDefault().getID(),
"-DLaunch.URL=" + System.getProperty("Launch.URL", ""),
Expand Down

0 comments on commit 935fe8b

Please sign in to comment.