summaryrefslogtreecommitdiff
path: root/tools/bit/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/bit/main.cpp')
-rw-r--r--tools/bit/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/bit/main.cpp b/tools/bit/main.cpp
index 4c68b02ddf60..a7fbc2eb0206 100644
--- a/tools/bit/main.cpp
+++ b/tools/bit/main.cpp
@@ -735,7 +735,7 @@ run_phases(vector<Target*> targets, const Options& options)
InstallApk& apk = installApks[i];
if (!apk.file.fileInfo.exists || apk.file.HasChanged()) {
// It didn't exist before or it changed, so int needs install
- err = run_adb("install", "-r", apk.file.filename.c_str(), NULL);
+ err = run_adb("install", "-r", "-g", apk.file.filename.c_str(), NULL);
check_error(err);
apk.installed = true;
} else {