diff options
author | Jerome67000 <jerome.gully0@gmail.com> | 2017-01-16 13:17:27 +0100 |
---|---|---|
committer | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-01-16 17:53:12 +0100 |
commit | 8c19a6cb85bc4ff00a8b2f7afe602c5724222a23 (patch) | |
tree | 5454be5eabd56482123e3cfb635bc945a3391b97 /platform/android | |
parent | ed96a3da8d75c46c3a3b0672fc26bb85511bf023 (diff) |
#7215 try to fix adb bad targeting user on device
Diffstat (limited to 'platform/android')
-rw-r--r-- | platform/android/export/export.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/android/export/export.cpp b/platform/android/export/export.cpp index 204bf684b7..33283eccea 100644 --- a/platform/android/export/export.cpp +++ b/platform/android/export/export.cpp @@ -1748,6 +1748,7 @@ Error EditorExportPlatformAndroid::run(int p_device, int p_flags) { args.push_back("shell"); args.push_back("am"); args.push_back("start"); + args.push_back("--user 0"); args.push_back("-a"); args.push_back("android.intent.action.MAIN"); args.push_back("-n"); @@ -1914,4 +1915,3 @@ void register_android_exporter() { EditorImportExport::get_singleton()->add_export_platform(exporter); } - |