android_vendor_hardware_ove.../Moto/G8/res/values/config.xml
Andy CrossGate Yan ca9375e755 Fix status bar height for Android 12L
Prior to 12L:
- values: sbh links to sbh_port
- values-land: sbh links to sbh_land
However, in 12L this was flipped around:
- values: sbh_port links to sbh
- values-land: defines sbh standalone
To fix for 12L without breaking them for prior versions, break the link and define each of them

Also, while we're at it, remove a few links in my own overlays, as they might break similarly in the future

Change-Id: Ib4d1896599f47a39274c4930fd765891bf143f7d
2022-04-17 13:50:13 +00:00

23 lines
1.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<resources>
<bool name="config_useDevInputEventForAudioJack">true</bool>
<bool name="config_showNavigationBar">true</bool>
<dimen name="status_bar_height">71.0px</dimen>
<dimen name="status_bar_height_portrait">71.0px</dimen>
<dimen name="status_bar_height_landscape">28dp</dimen>
<integer name="config_screenBrightnessDark">1</integer>
<integer name="config_screenBrightnessDim">2</integer>
<integer name="config_screenBrightnessSettingMinimum">1</integer>
<integer name="config_screenBrightnessSettingDefault">99</integer>
<!--
For some reason, the cutout defined by the vendor overlay isn't fully working
Issue is that SystemUI doesn't respect the punch-hole in portrait mode
<string name="config_mainBuiltInDisplayCutout">M -325,0 L -276,0 L -276,68 L -325,68 Z</string>
The workaround is to modify the cutout definition, so that its left edge extends to the edge of the display
-->
<string name="config_mainBuiltInDisplayCutout">M -360,0 L -276,0 L -276,68 L -360,68 Z</string>
</resources>