android_vendor_hardware_ove.../Moto/G7Play/res/values/config.xml
Daniel Roschka 9a98201436
Update properties based on Android 10 stock
This updates the properties based on Motorola's Android 10 stock ROM.
While with Motorolas Android 9 stock ROM most properties were part of
/system, with the Android 10 stock ROM they are now part of a overlay in
/vendor, so we don't need to overwrite them with a custom vendor overlay
anymore. However to ensure devices which were never updated to
Motorola's Android 10 ROM continue to work fine with the GSIs, this
commit keeps them in the custom vendor overlay.
2020-08-09 15:01:12 +02:00

140 lines
5.8 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<resources>
<bool name="config_auto_attach_data_on_creation">false</bool>
<bool name="config_displayBlanksAfterDoze">true</bool>
<bool name="config_dozeAfterScreenOffByDefault">true</bool>
<bool name="config_use_sim_language_file">true</bool>
<bool name="config_wifi_dual_band_support">false</bool>
<bool name="config_wifi_enable_disconnection_debounce">true</bool>
<bool name="config_wifi_fast_bss_transition_enabled">true</bool>
<dimen name="status_bar_height_portrait">72px</dimen>
<integer name="config_autoBrightnessBrighteningLightDebounce">2000</integer>
<integer name="config_autoPowerModeAnyMotionSensor">30</integer>
<integer name="config_mobile_mtu">1410</integer>
<string-array name="config_gpsParameters">
<item>XTRA_SERVER_1=https://xtrapath1.izatcloud.net/xtra3grc.bin</item>
<item>XTRA_SERVER_2=https://xtrapath2.izatcloud.net/xtra3grc.bin</item>
<item>XTRA_SERVER_3=https://xtrapath3.izatcloud.net/xtra3grc.bin</item>
<item>NTP_SERVER=north-america.pool.ntp.org</item>
<item>SUPL_MODE=0</item>
<item>SUPL_HOST=NONE</item>
<item>SUPL_PORT=7275</item>
<item>SUPL_VER=0x20000</item>
<item>LPP_PROFILE=3</item>
<item>NMEA_PROVIDER=0</item>
<item>A_GLONASS_POS_PROTOCOL_SELECT=0</item>
<item>ERR_ESTIMATE=0</item>
<item>INTERMEDIATE_POS=0</item>
<item>SUPL_ES=1</item>
<item>GPS_LOCK=1</item>
</string-array>
<!-- The properties below are only in here to keep compatibility with
devices which weren't updated to Motorola's stock Android 10 ROM
before flashing the GSI. For devices which got Motorola's Android
10 ROM flashed before, these properties are provided by
/vendor/overlay/framework-res__auto_generated_rro_vendor.apk.
-->
<bool name="config_automatic_brightness_available">true</bool>
<bool name="config_bluetooth_le_peripheral_mode_supported">true</bool>
<bool name="config_hotswapCapable">true</bool>
<bool name="config_showNavigationBar">true</bool>
<bool name="config_speed_up_audio_on_mt_calls">true</bool>
<bool name="config_supportSystemNavigationKeys">true</bool>
<bool name="config_suspendWhenScreenOffDueToProximity">true</bool>
<bool name="config_switch_phone_on_voice_reg_state_change">false</bool>
<bool name="config_useDevInputEventForAudioJack">true</bool>
<bool name="config_wifiDisplaySupportsProtectedBuffers">true</bool>
<bool name="config_wifi_background_scan_support">true</bool>
<bool name="config_wifi_batched_scan_supported">true</bool>
<bool name="skip_restoring_network_selection">true</bool>
<integer name="config_cameraLaunchGestureSensorType">65540</integer>
<integer name="config_screenBrightnessDark">3</integer>
<integer name="config_screenBrightnessDim">3</integer>
<integer name="config_screenBrightnessDoze">17</integer>
<integer name="config_screenBrightnessSettingMinimum">3</integer>
<integer name="config_shutdownBatteryTemperature">670</integer>
<integer-array name="config_autoBrightnessLcdBacklightValues">
<item>10</item>
<item>20</item>
<item>40</item>
<item>70</item>
<item>110</item>
<item>160</item>
<item>200</item>
<item>255</item>
</integer-array>
<integer-array name="config_autoBrightnessLevels">
<item>2</item>
<item>10</item>
<item>50</item>
<item>90</item>
<item>100</item>
<item>150</item>
<item>200</item>
<item>300</item>
<item>400</item>
<item>500</item>
<item>800</item>
<item>1000</item>
<item>1300</item>
<item>2000</item>
<item>3000</item>
<item>4000</item>
<item>8000</item>
<item>10000</item>
</integer-array>
<integer-array name="config_keyboardTapVibePattern">
<item>0</item>
<item>20</item>
</integer-array>
<integer-array name="config_longPressVibePattern">
<item>0</item>
<item>20</item>
</integer-array>
<integer-array name="config_tether_upstream_types">
<item>0</item>
<item>1</item>
<item>5</item>
<item>7</item>
</integer-array>
<integer-array name="config_virtualKeyVibePattern">
<item>0</item>
<item>26</item>
</integer-array>
<string name="config_cameraLaunchGestureSensorStringType">com.motorola.sensor.camera_activate</string>
<string name="config_mainBuiltInDisplayCutout">M -188,0 L -188,72 L 188,72 L 188,0 Z</string>
<string-array name="config_tether_bluetooth_regexs">
<item>bnep\\d</item>
<item>bt-pan</item>
</string-array>
<string-array name="config_tether_usb_regexs">
<item>rndis\\d</item>
</string-array>
<string-array name="config_tether_wifi_regexs">
<item>wigig0</item>
<item>wlan0</item>
<item>softap0</item>
</string-array>
<string-array name="networkAttributes">
<item>wifi,1,1,1,-1,true</item>
<item>mobile,0,0,0,-1,true</item>
<item>mobile_mms,2,0,4,60000,true</item>
<item>mobile_supl,3,0,2,60000,true</item>
<item>mobile_dun,4,0,2,60000,true</item>
<item>mobile_hipri,5,0,3,60000,true</item>
<item>mobile_fota,10,0,2,60000,true</item>
<item>mobile_ims,11,0,2,60000,true</item>
<item>mobile_cbs,12,0,2,60000,true</item>
<item>bluetooth,7,7,2,-1,true</item>
<item>ethernet,9,9,3,-1,true</item>
<item>mobile_emergency,15,0,5,-1,true</item>
</string-array>
<string-array name="radioAttributes">
<item>1,1</item>
<item>0,1</item>
<item>7,1</item>
<item>9,1</item>
</string-array>
</resources>