Merge "Use ro.debuggable instead of ro.build.type"
am: 37c90df931
* commit '37c90df93111b5ce08720f8c614dd9e946679ac4':
Use ro.debuggable instead of ro.build.type
This commit is contained in:
commit
4e30b63fc6
1 changed files with 2 additions and 2 deletions
|
|
@ -191,9 +191,9 @@ def restore_dropbox(device, original_dropbox_max_files):
|
||||||
|
|
||||||
def init_perf(device, output, record_list, tags):
|
def init_perf(device, output, record_list, tags):
|
||||||
device.wait()
|
device.wait()
|
||||||
build_type = device.get_prop('ro.build.type')
|
debuggable = device.get_prop('ro.debuggable')
|
||||||
original_dropbox_max_files = None
|
original_dropbox_max_files = None
|
||||||
if build_type != 'user':
|
if debuggable == '1':
|
||||||
# Workaround for Dropbox issue (http://b/20890386).
|
# Workaround for Dropbox issue (http://b/20890386).
|
||||||
original_dropbox_max_files = disable_dropbox(device)
|
original_dropbox_max_files = disable_dropbox(device)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue