From ab7faa12814b92892d7757db3113307732389300 Mon Sep 17 00:00:00 2001 From: Jerome67000 Date: Mon, 16 Jan 2017 13:17:27 +0100 Subject: [PATCH] #7215 try to fix adb bad targeting user on device (cherry picked from commit 8c19a6cb85bc4ff00a8b2f7afe602c5724222a23) --- platform/android/export/export.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/android/export/export.cpp b/platform/android/export/export.cpp index 1d6fe487ef7..9ccb6b0f12f 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"); @@ -1912,4 +1913,3 @@ void register_android_exporter() { EditorImportExport::get_singleton()->add_export_platform(exporter); } -