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.
This commit is contained in:
Daniel Roschka 2020-07-12 09:25:12 +02:00
parent 41b4ccda94
commit 9a98201436
No known key found for this signature in database
GPG key ID: 885B16854284E0B2

View file

@ -1,10 +1,42 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<bool name="config_auto_attach_data_on_creation">false</bool>
<bool name="config_automatic_brightness_available">true</bool>
<bool name="config_bluetooth_le_peripheral_mode_supported">true</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>
@ -12,19 +44,11 @@
<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_use_sim_language_file">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="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>
<bool name="skip_restoring_network_selection">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_cameraLaunchGestureSensorType">65540</integer>
<integer name="config_mobile_mtu">1410</integer>
<integer name="config_screenBrightnessDark">3</integer>
<integer name="config_screenBrightnessDim">3</integer>
<integer name="config_screenBrightnessDoze">17</integer>
@ -80,23 +104,6 @@
</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_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>
<string-array name="config_tether_bluetooth_regexs">
<item>bnep\\d</item>
<item>bt-pan</item>