By default out of the box, an Android build will have the backup mechanism in its "disabled" state and pointed to the LocalTransport test transport. We do not want retail devices built without the Google backend to have backup enabled out of the box; it would cause them to gradually grind away the cache partition for no good reason. On those devices with this change, developers would need to enable backup manually (possibly using the normal Settings UI; more probably using the 'bmgr' shell tool), but would no longer also have to manually configure the active transport name. Device vendors producing Google-enabled products will simply use resource overlays to configure the default state and transport name for their builds. When building a product that points to the Google backup transport by default, the "def_backup_enabled" boolean resource should still be set to 'false' -- the Google backup disclosure activity supplied by GSF will take care of enabling the backup services if the user opts in to it. (Basically, vendors will never have to overlay the def_backup_enabled resource -- the default value of 'false' is correct for any retail device regardless of whether it can use the Google backup transport.) In the SDK build, the default transport will remain the local one, but the default enable state overridden and set to "true". This is the ideal situation for developers: all aspects of the backup mechanism immediately operative with no manual configuration needed. Change-Id: I866f8f627b023b338bc7757e61604e6d8a901a34
76 lines
3.8 KiB
XML
76 lines
3.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
/**
|
|
* Copyright (c) 2009, The Android Open Source Project
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
-->
|
|
<resources>
|
|
<bool name="def_dim_screen">true</bool>
|
|
<integer name="def_screen_off_timeout">60000</integer>
|
|
<bool name="def_airplane_mode_on">false</bool>
|
|
<!-- Comma-separated list of bluetooth, wifi, and cell. -->
|
|
<string name="def_airplane_mode_radios" translatable="false">cell,bluetooth,wifi</string>
|
|
<string name="airplane_mode_toggleable_radios" translatable="false">wifi</string>
|
|
<bool name="def_auto_time">true</bool>
|
|
<bool name="def_accelerometer_rotation">true</bool>
|
|
<!-- Default screen brightness, from 0 to 255. 102 is 40%. -->
|
|
<integer name="def_screen_brightness">102</integer>
|
|
<bool name="def_screen_brightness_automatic_mode">false</bool>
|
|
<fraction name="def_window_animation_scale">100%</fraction>
|
|
<fraction name="def_window_transition_scale">100%</fraction>
|
|
<bool name="def_haptic_feedback">true</bool>
|
|
|
|
<bool name="def_bluetooth_on">false</bool>
|
|
<bool name="def_install_non_market_apps">false</bool>
|
|
<!-- Comma-separated list of location providers.
|
|
Network location is off by default because it requires
|
|
user opt-in via Setup Wizard or Settings.
|
|
-->
|
|
<string name="def_location_providers_allowed" translatable="false">gps</string>
|
|
<bool name="assisted_gps_enabled">true</bool>
|
|
<!-- 0 == mobile, 1 == wifi. -->
|
|
<integer name="def_network_preference">1</integer>
|
|
<bool name="def_usb_mass_storage_enabled">true</bool>
|
|
<bool name="def_wifi_on">false</bool>
|
|
<bool name="def_networks_available_notification_on">true</bool>
|
|
|
|
<bool name="def_backup_enabled">false</bool>
|
|
<string name="def_backup_transport" translatable="false">android/com.android.internal.backup.LocalTransport</string>
|
|
|
|
<!-- Default value for whether or not to pulse the notification LED when there is a
|
|
pending notification -->
|
|
<bool name="def_notification_pulse">true</bool>
|
|
|
|
<bool name="def_mount_play_notification_snd">true</bool>
|
|
<bool name="def_mount_ums_autostart">false</bool>
|
|
<bool name="def_mount_ums_prompt">true</bool>
|
|
<bool name="def_mount_ums_notify_enabled">true</bool>
|
|
|
|
<!-- user interface sound effects -->
|
|
<integer name="def_power_sounds_enabled">1</integer>
|
|
<string name="def_low_battery_sound" translatable="false">/system/media/audio/ui/LowBattery.ogg</string>
|
|
<integer name="def_dock_sounds_enabled">0</integer>
|
|
<string name="def_desk_dock_sound" translatable="false">/system/media/audio/ui/Dock.ogg</string>
|
|
<string name="def_desk_undock_sound" translatable="false">/system/media/audio/ui/Undock.ogg</string>
|
|
<string name="def_car_dock_sound" translatable="false">/system/media/audio/ui/Dock.ogg</string>
|
|
<string name="def_car_undock_sound" translatable="false">/system/media/audio/ui/Undock.ogg</string>
|
|
<integer name="def_lockscreen_sounds_enabled">0</integer>
|
|
<string name="def_lock_sound" translatable="false">/system/media/audio/ui/Lock.ogg</string>
|
|
<string name="def_unlock_sound" translatable="false">/system/media/audio/ui/Unlock.ogg</string>
|
|
|
|
<!-- Default for Settings.System.VIBRATE_IN_SILENT -->
|
|
<bool name="def_vibrate_in_silent">true</bool>
|
|
</resources>
|