summaryrefslogtreecommitdiff
path: root/platform/android
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2016-03-19 19:38:14 +0100
committerRémi Verschelde <remi@verschelde.fr>2016-03-19 19:38:14 +0100
commit6cf978b7d61fa1655f13138a775acdd7fbbf39b5 (patch)
treed9f54886baa3b9a3a747b674b5e04be1bbb09582 /platform/android
parentb8daa7e6e6c75324bd1aab346975b38721667c2f (diff)
parent9e026fecef94c5bc52ecddf6db5ec60c76b2e3be (diff)
Merge pull request #4085 from sanikoyes/Pr-adb-keep-user-data
Add -r flag to adb install for keep app user data
Diffstat (limited to 'platform/android')
-rw-r--r--platform/android/export/export.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/android/export/export.cpp b/platform/android/export/export.cpp
index 0f1cbdc73a..e65a712a17 100644
--- a/platform/android/export/export.cpp
+++ b/platform/android/export/export.cpp
@@ -1567,6 +1567,7 @@ Error EditorExportPlatformAndroid::run(int p_device, int p_flags) {
args.push_back("-s");
args.push_back(devices[p_device].id);
args.push_back("install");
+ args.push_back("-r");
args.push_back(export_to);
err = OS::get_singleton()->execute(adb,args,true,NULL,NULL,&rv);