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

Issue 344233005: Fix for provisioning_devices failure on user builds. (Closed)

Created:
6 years, 6 months ago by klundberg
Modified:
6 years, 6 months ago
Reviewers:
mstrum, navabi1, tonyg, navabi
CC:
chromium-reviews, klundberg+watch_chromium.org, bulach+watch_chromium.org, yfriedman+watch_chromium.org, ilevy-cc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Fix for provisioning_devices failure on user builds. provisioning_devices tries to use "adb shell su" to set content settings. However, "su" is not available for user builds and thus provisioning_devices fails for devices with user builds. This CL fixes this failure by only setting the content settings when the device has a userdebug build. BUG=385789 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=279873

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -7 lines) Patch
M build/android/pylib/device_settings.py View 1 chunk +8 lines, -7 lines 1 comment Download

Messages

Total messages: 9 (0 generated)
klundberg
Armand, this is needed for the S3 perf bot.
6 years, 6 months ago (2014-06-24 17:11:47 UTC) #1
mstrum
https://codereview.chromium.org/344233005/diff/1/build/android/pylib/device_settings.py File build/android/pylib/device_settings.py (right): https://codereview.chromium.org/344233005/diff/1/build/android/pylib/device_settings.py#newcode41 build/android/pylib/device_settings.py:41: if device.old_interface.GetBuildType() == 'userdebug': Could you change this to ...
6 years, 6 months ago (2014-06-24 18:54:36 UTC) #2
navabi
Is this the only part of provisioning that requires userdebug (i.e. root)? Adding tonyg who ...
6 years, 6 months ago (2014-06-25 00:27:03 UTC) #3
klundberg
On 2014/06/25 00:27:03, navabi wrote: > Is this the only part of provisioning that requires ...
6 years, 6 months ago (2014-06-25 15:36:26 UTC) #4
navabi
lgtm
6 years, 6 months ago (2014-06-25 20:36:55 UTC) #5
navabi1
lgtm
6 years, 6 months ago (2014-06-25 20:37:14 UTC) #6
klundberg
The CQ bit was checked by klundberg@chromium.org
6 years, 6 months ago (2014-06-25 20:44:28 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/klundberg@chromium.org/344233005/1
6 years, 6 months ago (2014-06-25 20:46:43 UTC) #8
commit-bot: I haz the power
6 years, 6 months ago (2014-06-26 00:04:42 UTC) #9
Message was sent while issue was closed.
Change committed as 279873

Powered by Google App Engine
This is Rietveld 408576698