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

Unified Diff: sky/tools/shelldb

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/apk/demo/AndroidManifest.xml ('k') | sky/tools/skydb » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/tools/shelldb
diff --git a/sky/tools/shelldb b/sky/tools/shelldb
index d64f917df614d125fe57ac0881a9f85e58110cd1..28fbfb3cb65f97c1df0b231b46287ac5ebcf99e0 100755
--- a/sky/tools/shelldb
+++ b/sky/tools/shelldb
@@ -175,7 +175,8 @@ class StartSky(object):
pids['build_dir'] = os.path.abspath(args.build_dir)
if args.install:
- 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/apk/demo/AndroidManifest.xml ('k') | sky/tools/skydb » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698