defaults.xml revision 147b4d75e1d4ca795d45ffe51d83efd19a754cf2
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    <bool name="def_airplane_mode_on">false</bool>
23    <!-- Comma-separated list of bluetooth, wifi, and cell. -->
24    <string name="def_airplane_mode_radios" translatable="false">cell,bluetooth,wifi,nfc,wimax</string>
25    <string name="airplane_mode_toggleable_radios" translatable="false">bluetooth,wifi,nfc</string>
26    <bool name="def_auto_time">true</bool>
27    <bool name="def_auto_time_zone">true</bool>
28    <bool name="def_accelerometer_rotation">true</bool>
29    <!-- Default screen brightness, from 0 to 255.  102 is 40%. -->
30    <integer name="def_screen_brightness">102</integer>
31    <bool name="def_screen_brightness_automatic_mode">false</bool>
32    <fraction name="def_window_animation_scale">100%</fraction>
33    <fraction name="def_window_transition_scale">100%</fraction>
34    <bool name="def_haptic_feedback">true</bool>
35
36    <bool name="def_bluetooth_on">false</bool>
37    <bool name="def_wifi_display_on">false</bool>
38    <bool name="def_install_non_market_apps">false</bool>
39    <bool name="def_package_verifier_enable">true</bool>
40    <!-- Comma-separated list of location providers.
41         Network location is off by default because it requires
42         user opt-in via Setup Wizard or Settings.
43    -->
44    <string name="def_location_providers_allowed" translatable="false">gps</string>
45    <bool name="assisted_gps_enabled">true</bool>
46    <bool name="def_netstats_enabled">true</bool>
47    <bool name="def_usb_mass_storage_enabled">true</bool>
48    <bool name="def_wifi_on">false</bool>
49    <!-- 0 == never, 1 == only when plugged in, 2 == always -->
50    <integer name="def_wifi_sleep_policy">2</integer>
51    <bool name="def_networks_available_notification_on">true</bool>
52
53    <bool name="def_backup_enabled">false</bool>
54    <string name="def_backup_transport" translatable="false">android/com.android.internal.backup.LocalTransport</string>
55
56    <!-- Default value for whether or not to pulse the notification LED when there is a
57         pending notification -->
58    <bool name="def_notification_pulse">true</bool>
59
60    <bool name="def_mount_play_notification_snd">true</bool>
61    <bool name="def_mount_ums_autostart">false</bool>
62    <bool name="def_mount_ums_prompt">true</bool>
63    <bool name="def_mount_ums_notify_enabled">true</bool>
64
65    <!-- user interface sound effects -->
66    <integer name="def_power_sounds_enabled">1</integer>
67    <string name="def_low_battery_sound" translatable="false">/system/media/audio/ui/LowBattery.ogg</string>
68    <integer name="def_dock_sounds_enabled">0</integer>
69    <string name="def_desk_dock_sound" translatable="false">/system/media/audio/ui/Dock.ogg</string>
70    <string name="def_desk_undock_sound" translatable="false">/system/media/audio/ui/Undock.ogg</string>
71    <string name="def_car_dock_sound" translatable="false">/system/media/audio/ui/Dock.ogg</string>
72    <string name="def_car_undock_sound" translatable="false">/system/media/audio/ui/Undock.ogg</string>
73    <integer name="def_lockscreen_sounds_enabled">1</integer>
74    <string name="def_lock_sound" translatable="false">/system/media/audio/ui/Lock.ogg</string>
75    <string name="def_unlock_sound" translatable="false">/system/media/audio/ui/Unlock.ogg</string>
76    <string name="def_wireless_charging_started_sound" translatable="false">/system/media/audio/ui/WirelessChargingStarted.ogg</string>
77
78    <bool name="def_lockscreen_disabled">false</bool>
79    <bool name="def_device_provisioned">false</bool>
80    <integer name="def_dock_audio_media_enabled">1</integer>
81
82    <!-- Notifications use ringer volume -->
83    <bool name="def_notifications_use_ring_volume">true</bool>
84
85    <!-- Default for Settings.System.VIBRATE_IN_SILENT -->
86    <bool name="def_vibrate_in_silent">true</bool>
87
88    <!-- Default for Settings.Secure.ACCESSIBILITY_SCRIPT_INJECTION -->
89    <bool name="def_accessibility_script_injection">false</bool>
90
91    <!-- Default for Settings.Secure.ACCESSIBILITY_SPEAK_PASSWORD -->
92    <bool name="def_accessibility_speak_password">false</bool>
93
94    <!-- Default for Settings.Secure.ACCESSIBILITY_WEB_CONTENT_KEY_BINDINGS -->
95    <string name="def_accessibility_web_content_key_bindings" translatable="false">
96            <!-- DPAD/Trackball UP - traverse previous on current axis and send an event. -->
97            0x13=0x01000100;
98            <!-- DPAD/Trackball DOWN - traverse next on current axis and send an event. -->
99            0x14=0x01010100;
100            <!-- DPAD/Trackball LEFT - traverse previous on the character navigation axis and send event. -->
101            0x15=0x02000001;
102            <!-- DPAD/Trackball RIGHT - traverse next on the character navigation axis end send event. -->
103            0x16=0x02010001;
104            <!-- Alt+DPAD/Trackball UP - go to the top of the document. -->
105            0x200000013=0x02000601;
106            <!-- Alt+DPAD/Trackball DOWN - go to the bottom of the document. -->
107            0x200000014=0x02010601;
108            <!-- Alt+DPAD/Trackball LEFT - transition from an axis to another and sends an event.-->
109            <!-- Axis transitions: 2 -> 1; -->
110            0x200000015=0x03020101;
111            <!-- Alt+DPAD/Trackball RIGHT - transition from an axis to another and sends an event. -->
112            <!-- Axis transitions:  1 -> 2; -->
113            0x200000016=0x03010201;
114            <!-- Alt+g - go to the previous heading and send an event. -->
115            0x200000023=0x02000301;
116            <!-- Alt+h - go to the next heading and send an event. -->
117            0x200000024=0x02010301;
118            <!-- Alt+COMMA - transition to sentence navigation axis and send an event. -->
119            <!-- Axis transitions:  7 -> 2; -->
120            0x200000037=0x03070201;
121            <!-- Alt+PERIOD - transition to default web view behavior axis and send an event. -->
122            <!-- Axis transitions:  0 -> 7; 1 - > 7; 2 -> 7; -->
123            0x200000038=0x03000701:0x03010701:0x03020701;
124    </string>
125
126    <!-- Default for Settings.Secure.ACCESSIBILITY_SCRIPT_INJECTION_URL -->
127    <string name="def_accessibility_screen_reader_url" translatable="false">
128        https://ssl.gstatic.com/accessibility/javascript/android/AndroidVox_v1.js
129    </string>
130
131    <!-- Default for Settings.Secure.TOUCH_EXPLORATION_ENABLED -->
132    <bool name="def_touch_exploration_enabled">false</bool>
133
134    <!-- Default value for Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_SCALE -->
135    <fraction name="def_accessibility_display_magnification_scale">200%</fraction>
136
137    <!-- Default value for Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_ENABLED -->
138    <bool name="def_accessibility_display_magnification_enabled">false</bool>
139
140    <!-- Default value for Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_AUTO_UPDATE -->
141    <bool name="def_accessibility_display_magnification_auto_update">true</bool>
142
143    <!-- Default for Settings.System.USER_ROTATION -->
144    <integer name="def_user_rotation">0</integer>
145
146    <!-- Default for Settings.Secure.DOWNLOAD_MAX_BYTES_OVER_MOBILE. <=0 if no limit -->
147    <integer name="def_download_manager_max_bytes_over_mobile">-1</integer>
148    <!-- Default for Settings.Secure.DOWNLOAD_RECOMMENDED_MAX_BYTES_OVER_MOBILE. <=0 if no limit -->
149    <integer name="def_download_manager_recommended_max_bytes_over_mobile">-1</integer>
150
151    <!-- Default for Settings.Secure.LONG_PRESS_TIMEOUT_MILLIS -->
152    <integer name="def_long_press_timeout_millis">500</integer>
153
154    <!-- Default for Settings.System.POINTER_SPEED -->
155    <integer name="def_pointer_speed">0</integer>
156
157    <!-- Default for DTMF tones enabled -->
158    <bool name="def_dtmf_tones_enabled">true</bool>
159    <!-- Default for UI touch sounds enabled -->
160    <bool name="def_sound_effects_enabled">true</bool>
161
162    <!-- Development settings -->
163    <bool name="def_stay_on_while_plugged_in">false</bool>
164
165    <!-- Number of retries for connecting to DHCP.
166         Value here is the same as WifiStateMachine.DEFAULT_MAX_DHCP_RETRIES -->
167    <integer name="def_max_dhcp_retries">9</integer>
168
169    <!-- Default for Settings.Secure.USER_SETUP_COMPLETE -->
170    <bool name="def_user_setup_complete">false</bool>
171
172    <!-- Default for Settings.Global.LOW_BATTERY_SOUND_TIMEOUT.
173         0 means no timeout; battery sounds will always play
174         >0 is milliseconds of screen-off time after which battery sounds will not play -->
175    <integer name="def_low_battery_sound_timeout">0</integer>
176
177    <!-- Initial value for the Settings.Secure.IMMERSIVE_MODE_CONFIRMATIONS setting,
178         which is a comma separated list of packages that no longer need confirmation
179         for immersive mode.
180         Override to disable immersive mode confirmation for certain packages. -->
181    <string name="def_immersive_mode_confirmations" translatable="false"></string>
182
183    <!-- Default for Settings.Global.WIFI_SCAN_ALWAYS_AVAILABLE -->
184    <integer name="def_wifi_scan_always_available">0</integer>
185
186    <!-- Default for Settings.Global.LOCK_SCREEN_SHOW_NOTIFICATIONS, 1==on -->
187    <integer name="def_lock_screen_show_notifications">1</integer>
188
189    <!-- Default for Settings.Global.HEADS_UP_NOTIFICATIONS_ENABLED, 1==on -->
190    <integer name="def_heads_up_enabled">1</integer>
191
192    <!-- Default for Settings.Global.DEVICE_NAME $1=BRAND $2=MODEL-->
193    <string name="def_device_name">%1$s %2$s</string>
194
195</resources>
196