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

Unified Diff: build/android/pylib/device_settings.py

Issue 251793003: Make android bot configuration more consistent. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 8 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/device_settings.py
diff --git a/build/android/pylib/device_settings.py b/build/android/pylib/device_settings.py
index 9f818d8b8ffd8c879e21287a6fdabe9020101e3d..a2db68c242c7af1cc0dd29306fe02e1dfbf54ae9 100644
--- a/build/android/pylib/device_settings.py
+++ b/build/android/pylib/device_settings.py
@@ -46,20 +46,34 @@ def ConfigureContentSettingsDict(device, desired_settings):
DETERMINISTIC_DEVICE_SETTINGS = {
'com.google.settings/partner': {
+ 'network_location_opt_in': 0,
'use_location_for_services': 1,
},
'settings/global': {
+ 'assisted_gps_enabled': 0,
+
# Disable "auto time" and "auto time zone" to avoid network-provided time
# to overwrite the device's datetime and timezone synchronized from host
# when running tests later. See b/6569849.
'auto_time': 0,
'auto_time_zone': 0,
+ 'development_settings_enabled': 1,
+
+ # Flag for allowing ActivityManagerService to send ACTION_APP_ERROR intents
+ # on application crashes and ANRs. If this is disabled, the crash/ANR dialog
+ # will never display the "Report" button.
+ # Type: int ( 0 = disallow, 1 = allow )
+ 'send_action_app_error': 0,
+
'stay_on_while_plugged_in': 3,
'verifier_verify_adb_installs' : 0,
},
'settings/secure': {
+ 'allowed_geolocation_origins':
+ 'http://www.google.co.uk http://www.google.com',
+
# Ensure that we never get random dialogs like "Unfortunately the process
# android.process.acore has stopped", which steal the focus, and make our
# automation fail (because the dialog steals the focus then mistakenly
@@ -92,5 +106,6 @@ DETERMINISTIC_DEVICE_SETTINGS = {
NETWORK_DISABLED_SETTINGS = {
'settings/global': {
'airplane_mode_on': 1,
+ 'wifi_on': 0,
},
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698