Bump versionCode of SkyDemo.apk to avoid downgrade warning.
Also teach both skydb and shelldb to ignore version downgrades I did not change sky_tool since maybe the warning makes sense there? R=abarth@chromium.org, chinmaygarde@google.com Review URL: https://codereview.chromium.org/1138343002
This commit is contained in:
parent
cff10ebf23
commit
5b60d0a358
@ -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([
|
||||
|
@ -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([
|
||||
|
Loading…
x
Reference in New Issue
Block a user