Default Android Switch

Source: Internet
Author: User

When Android Refreshes a New rom, it usually has some default settings after the first boot.

For example:

Data switch, GPS, automatic screen rotation, and so on are on. Where is the configuration information here?

In the \ frameworks \ base \ packages \ settingsprovider \ res \ values \ defaults. xml file, there is a defined default switch (where true is enabled, false is off) as follows:
<Bool name = "def_dim_screen"> true </bool>
<Bool name = "def_airplane_mode_on"> false </bool> flight mode

<Bool name = "def_auto_time"> true </bool> automatic adaptation time
<Bool name = "def_accelerometer_rotation"> true </bool> gravity sensing
<Bool name = "def_screen_brightness_automatic_mode"> true </bool> automatic brightness adjustment
<Bool name = "def_haptic_feedback"> false </bool> trigger feedback
<Bool name = "def_effecth_on"> false </bool> Bluetooth
<Bool name = "def_install_non_market_apps"> false </bool> install non-market APK
<Bool name = "assisted_gps_enabled"> true </bool> GPS Positioning
<Bool name = "def_usb_mass_storage_enabled"> true </bool> large-capacity USB storage mode
<Bool name = "def_wifi_on"> false </bool> WiFi
<Bool name = "def_networks_available_notification_on"> true </bool> indicates that a data connection is enabled.
<Bool name = "def_backup_enabled"> true </bool> Save
<Bool name = "def_icationication_pulse"> true </bool> vibration notification
<Bool name = "def_mount_play_notification_snd"> false </bool> unknown
<Bool name = "def_mount_ums_autostart"> false </bool> Automatic Restart
<Bool name = "def_mount_ums_prompt"> true </bool> unknown
<Bool name = "def_mount_ums_policy_enabled"> true </bool> unknown

<Bool name = "def_notifications_use_ring_volume"> true </bool> sound reminder
<Bool name = "def_vibrate_in_silent"> true </bool> silent Vibration
<Bool name = "def_device_provisioned"> true </bool>
<String name = "def_time_12_24"> 24 </string> set the time format (in the 24-hour or 12-hour format)
<Integer name = "def_screen_off_timeout"> 60000 </Integer> automatic screen off time (1 minute)
<Integer name = "def_screen_brightness"> 216 </Integer> screen brightness (0-255)
<Integer name = "def_network_preference"> 1 </Integer> default network selection (item 1)
<Integer name = "def_power_sounds_enabled"> 1 </Integer> low-power sound (on)
<Integer name = "def_dock_sounds_enabled"> 0 </Integer> unknown
<Integer name = "def_lockscreen_sounds_enabled"> 0 </Integer> lock screen sound (off)

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.