Merge pull request #4085 from sanikoyes/Pr-adb-keep-user-data

Add -r flag to adb install for keep app user data
This commit is contained in:
Rémi Verschelde 2016-03-19 19:38:14 +01:00
commit 6cf978b7d6

View file

@ -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);