Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(495)

Unified Diff: sky/tools/skydb

Issue 1138343002: Bump versionCode of SkyDemo.apk to avoid downgrade warning. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/tools/shelldb ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/tools/skydb
diff --git a/sky/tools/skydb b/sky/tools/skydb
index 5b935bb9d355e9f24935ad56ddacdd4500f881e6..e024946c68d549a5c33de862e3b9bb50d0234c56 100755
--- a/sky/tools/skydb
+++ b/sky/tools/skydb
@@ -226,7 +226,8 @@ class SkyDebugger(object):
subprocess.check_call([ADB_PATH, 'root'])
# We could make installing conditional on an argument.
- subprocess.check_call([ADB_PATH, 'install', '-r', apk_path])
+ # -r to replace an existing apk, -d to allow version downgrade.
+ subprocess.check_call([ADB_PATH, 'install', '-r', '-d', apk_path])
port_string = 'tcp:%s' % sky_server.port
subprocess.check_call([
« no previous file with comments | « sky/tools/shelldb ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698