defaults.xml revision cf11ceab652a146c72fde1fef53d69ceee9bf651
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3/**
4 * Copyright (c) 2009, The Android Open Source Project
5 *
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9 *
10 *     http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 */
18-->
19<resources>
20    <bool name="def_dim_screen">true</bool>
21    <integer name="def_screen_off_timeout">60000</integer>
22    <integer name="def_sleep_timeout">-1</integer>
23    <bool name="def_airplane_mode_on">false</bool>
24    <bool name="def_theater_mode_on">false</bool>
25    <!-- Comma-separated list of bluetooth, wifi, and cell. -->
26    <string name="def_airplane_mode_radios" translatable="false">cell,bluetooth,wifi,nfc,wimax</string>
27    <string name="airplane_mode_toggleable_radios" translatable="false">bluetooth,wifi,nfc</string>
28    <string name="def_bluetooth_disabled_profiles" translatable="false">0</string>
29    <bool name="def_auto_time">true</bool>
30    <bool name="def_auto_time_zone">true</bool>
31    <bool name="def_accelerometer_rotation">true</bool>
32    <!-- Default screen brightness, from 0 to 255.  102 is 40%. -->
33    <integer name="def_screen_brightness">102</integer>
34    <bool name="def_screen_brightness_automatic_mode">false</bool>
35    <fraction name="def_window_animation_scale">100%</fraction>
36    <fraction name="def_window_transition_scale">100%</fraction>
37    <bool name="def_haptic_feedback">true</bool>
38
39    <bool name="def_bluetooth_on">true</bool>
40    <bool name="def_wifi_display_on">false</bool>
41    <bool name="def_install_non_market_apps">false</bool>
42    <bool name="def_package_verifier_enable">true</bool>
43    <!-- Comma-separated list of location providers.
44         Network location is off by default because it requires
45         user opt-in via Setup Wizard or Settings.
46    -->
47    <string name="def_location_providers_allowed" translatable="false">gps</string>
48    <bool name="assisted_gps_enabled">true</bool>
49    <bool name="def_netstats_enabled">true</bool>
50    <bool name="def_usb_mass_storage_enabled">true</bool>
51    <bool name="def_wifi_on">false</bool>
52    <!-- 0 == never, 1 == only when plugged in, 2 == always -->
53    <integer name="def_wifi_sleep_policy">2</integer>
54    <bool name="def_networks_available_notification_on">true</bool>
55
56    <bool name="def_backup_enabled">false</bool>
57    <string name="def_backup_transport" translatable="false">android/com.android.internal.backup.LocalTransport</string>
58
59    <!-- Default value for whether or not to pulse the notification LED when there is a
60         pending notification -->
61    <bool name="def_notification_pulse">true</bool>
62
63    <bool name="def_mount_play_notification_snd">true</bool>
64    <bool name="def_mount_ums_autostart">false</bool>
65    <bool name="def_mount_ums_prompt">true</bool>
66    <bool name="def_mount_ums_notify_enabled">true</bool>
67
68    <!-- user interface sound effects -->
69    <integer name="def_power_sounds_enabled">1</integer>
70    <string name="def_low_battery_sound" translatable="false">/system/media/audio/ui/LowBattery.ogg</string>
71    <integer name="def_dock_sounds_enabled">0</integer>
72    <integer name="def_dock_sounds_enabled_when_accessibility">0</integer>
73    <string name="def_desk_dock_sound" translatable="false">/system/media/audio/ui/Dock.ogg</string>
74    <string name="def_desk_undock_sound" translatable="false">/system/media/audio/ui/Undock.ogg</string>
75    <string name="def_car_dock_sound" translatable="false">/system/media/audio/ui/Dock.ogg</string>
76    <string name="def_car_undock_sound" translatable="false">/system/media/audio/ui/Undock.ogg</string>
77    <integer name="def_lockscreen_sounds_enabled">1</integer>
78    <string name="def_lock_sound" translatable="false">/system/media/audio/ui/Lock.ogg</string>
79    <string name="def_unlock_sound" translatable="false">/system/media/audio/ui/Unlock.ogg</string>
80    <string name="def_trusted_sound" translatable="false">/system/media/audio/ui/Trusted.ogg</string>
81    <string name="def_wireless_charging_started_sound" translatable="false">/system/media/audio/ui/WirelessChargingStarted.ogg</string>
82
83    <bool name="def_lockscreen_disabled">false</bool>
84    <bool name="def_device_provisioned">false</bool>
85    <integer name="def_dock_audio_media_enabled">1</integer>
86
87    <!-- Notifications use ringer volume -->
88    <bool name="def_notifications_use_ring_volume">true</bool>
89
90    <!-- Default for Settings.System.VIBRATE_IN_SILENT -->
91    <bool name="def_vibrate_in_silent">true</bool>
92
93    <!-- Default for Settings.Secure.ACCESSIBILITY_SCRIPT_INJECTION -->
94    <bool name="def_accessibility_script_injection">false</bool>
95
96    <!-- Default for Settings.Secure.ACCESSIBILITY_SPEAK_PASSWORD -->
97    <bool name="def_accessibility_speak_password">false</bool>
98
99    <!-- Default for Settings.Secure.ACCESSIBILITY_WEB_CONTENT_KEY_BINDINGS -->
100    <string name="def_accessibility_web_content_key_bindings" translatable="false">
101            <!-- DPAD/Trackball UP - traverse previous on current axis and send an event. -->
102            0x13=0x01000100;
103            <!-- DPAD/Trackball DOWN - traverse next on current axis and send an event. -->
104            0x14=0x01010100;
105            <!-- DPAD/Trackball LEFT - traverse previous on the character navigation axis and send event. -->
106            0x15=0x02000001;
107            <!-- DPAD/Trackball RIGHT - traverse next on the character navigation axis end send event. -->
108            0x16=0x02010001;
109            <!-- Alt+DPAD/Trackball UP - go to the top of the document. -->
110            0x200000013=0x02000601;
111            <!-- Alt+DPAD/Trackball DOWN - go to the bottom of the document. -->
112            0x200000014=0x02010601;
113            <!-- Alt+DPAD/Trackball LEFT - transition from an axis to another and sends an event.-->
114            <!-- Axis transitions: 2 -> 1; -->
115            0x200000015=0x03020101;
116            <!-- Alt+DPAD/Trackball RIGHT - transition from an axis to another and sends an event. -->
117            <!-- Axis transitions:  1 -> 2; -->
118            0x200000016=0x03010201;
119            <!-- Alt+g - go to the previous heading and send an event. -->
120            0x200000023=0x02000301;
121            <!-- Alt+h - go to the next heading and send an event. -->
122            0x200000024=0x02010301;
123            <!-- Alt+COMMA - transition to sentence navigation axis and send an event. -->
124            <!-- Axis transitions:  7 -> 2; -->
125            0x200000037=0x03070201;
126            <!-- Alt+PERIOD - transition to default web view behavior axis and send an event. -->
127            <!-- Axis transitions:  0 -> 7; 1 - > 7; 2 -> 7; -->
128            0x200000038=0x03000701:0x03010701:0x03020701;
129    </string>
130
131    <!-- Default for Settings.Secure.ACCESSIBILITY_SCRIPT_INJECTION_URL -->
132    <string name="def_accessibility_screen_reader_url" translatable="false">
133        https://ssl.gstatic.com/accessibility/javascript/android/AndroidVox_v1.js
134    </string>
135
136    <!-- Default for Settings.Secure.TOUCH_EXPLORATION_ENABLED -->
137    <bool name="def_touch_exploration_enabled">false</bool>
138
139    <!-- Default value for Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_SCALE -->
140    <fraction name="def_accessibility_display_magnification_scale">200%</fraction>
141
142    <!-- Default value for Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_ENABLED -->
143    <bool name="def_accessibility_display_magnification_enabled">false</bool>
144
145    <!-- Default value for Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_AUTO_UPDATE -->
146    <bool name="def_accessibility_display_magnification_auto_update">true</bool>
147
148    <!-- Default for Settings.System.USER_ROTATION -->
149    <integer name="def_user_rotation">0</integer>
150
151    <!-- Default for Settings.Secure.DOWNLOAD_MAX_BYTES_OVER_MOBILE. <=0 if no limit -->
152    <integer name="def_download_manager_max_bytes_over_mobile">-1</integer>
153    <!-- Default for Settings.Secure.DOWNLOAD_RECOMMENDED_MAX_BYTES_OVER_MOBILE. <=0 if no limit -->
154    <integer name="def_download_manager_recommended_max_bytes_over_mobile">-1</integer>
155
156    <!-- Default for Settings.Secure.LONG_PRESS_TIMEOUT_MILLIS -->
157    <integer name="def_long_press_timeout_millis">400</integer>
158
159    <!-- Default for Settings.Secure.MULTI_PRESS_TIMEOUT -->
160    <integer name="def_multi_press_timeout_millis">300</integer>
161
162    <!-- Default for Settings.Secure.SHOW_IME_WITH_HARD_KEYBOARD -->
163    <bool name="def_show_ime_with_hard_keyboard">false</bool>
164
165    <!-- Default for Settings.System.POINTER_SPEED -->
166    <integer name="def_pointer_speed">0</integer>
167
168    <!-- Default for DTMF tones enabled -->
169    <bool name="def_dtmf_tones_enabled">true</bool>
170    <!-- Default for UI touch sounds enabled -->
171    <bool name="def_sound_effects_enabled">true</bool>
172
173    <!-- Development settings -->
174    <bool name="def_stay_on_while_plugged_in">false</bool>
175
176    <!-- Number of retries for connecting to DHCP.
177         Value here is the same as WifiStateMachine.DEFAULT_MAX_DHCP_RETRIES -->
178    <integer name="def_max_dhcp_retries">9</integer>
179
180    <!-- Default for Settings.Secure.USER_SETUP_COMPLETE -->
181    <bool name="def_user_setup_complete">false</bool>
182
183    <!-- Default for Settings.Global.LOW_BATTERY_SOUND_TIMEOUT.
184         0 means no timeout; battery sounds will always play
185         >0 is milliseconds of screen-off time after which battery sounds will not play -->
186    <integer name="def_low_battery_sound_timeout">0</integer>
187
188    <!-- Initial value for the Settings.Secure.IMMERSIVE_MODE_CONFIRMATIONS setting,
189         which is a comma separated list of packages that no longer need confirmation
190         for immersive mode.
191         Override to disable immersive mode confirmation for certain packages. -->
192    <string name="def_immersive_mode_confirmations" translatable="false"></string>
193
194    <!-- Default for Settings.Global.WIFI_SCAN_ALWAYS_AVAILABLE -->
195    <integer name="def_wifi_scan_always_available">0</integer>
196
197    <!-- Default for Settings.Secure.LOCK_SCREEN_SHOW_NOTIFICATIONS, 1==on -->
198    <integer name="def_lock_screen_show_notifications">1</integer>
199
200    <!-- Default for Settings.Secure.LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS -->
201    <bool name="def_lock_screen_allow_private_notifications">true</bool>
202
203    <!-- Default for Settings.Global.HEADS_UP_NOTIFICATIONS_ENABLED, 1==on -->
204    <integer name="def_heads_up_enabled">1</integer>
205
206    <!-- Default for Settings.Global.DEVICE_NAME $1=MANUFACTURER $2=MODEL-->
207    <string name="def_device_name">%1$s %2$s</string>
208
209    <!-- Default for Settings.Global.DEVICE_NAME $1=MODEL-->
210    <string name="def_device_name_simple">%1$s</string>
211
212    <!-- Default for Settings.Secure.WAKE_GESTURE_ENABLED -->
213    <bool name="def_wake_gesture_enabled">true</bool>
214
215    <!-- Default state of tap to wake -->
216    <bool name="def_double_tap_to_wake">true</bool>
217
218    <!-- Default for Settings.Secure.NFC_PAYMENT_COMPONENT -->
219    <string name="def_nfc_payment_component"></string>
220
221    <!-- Default setting for ability to add users from the lock screen -->
222    <bool name="def_add_users_from_lockscreen">false</bool>
223</resources>
224