mirror of
https://github.com/nix-community/nix-on-droid-app.git
synced 2025-11-08 19:46:10 +01:00
fix am on Android R
This commit is contained in:
parent
2224d917a3
commit
8d302aa9fe
1 changed files with 2 additions and 0 deletions
|
|
@ -148,6 +148,8 @@ public final class BackgroundJob {
|
||||||
// Samsung S7 - see https://plus.google.com/110070148244138185604/posts/gp8Lk3aCGp3.
|
// Samsung S7 - see https://plus.google.com/110070148244138185604/posts/gp8Lk3aCGp3.
|
||||||
environment.add("EXTERNAL_STORAGE=" + System.getenv("EXTERNAL_STORAGE"));
|
environment.add("EXTERNAL_STORAGE=" + System.getenv("EXTERNAL_STORAGE"));
|
||||||
// ANDROID_RUNTIME_ROOT and ANDROID_TZDATA_ROOT are required for `am` to run on Android Q
|
// ANDROID_RUNTIME_ROOT and ANDROID_TZDATA_ROOT are required for `am` to run on Android Q
|
||||||
|
addToEnvIfPresent(environment, "ANDROID_ART_ROOT");
|
||||||
|
addToEnvIfPresent(environment, "ANDROID_I18N_ROOT");
|
||||||
addToEnvIfPresent(environment, "ANDROID_RUNTIME_ROOT");
|
addToEnvIfPresent(environment, "ANDROID_RUNTIME_ROOT");
|
||||||
addToEnvIfPresent(environment, "ANDROID_TZDATA_ROOT");
|
addToEnvIfPresent(environment, "ANDROID_TZDATA_ROOT");
|
||||||
if (failSafe) {
|
if (failSafe) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue