android_vendor_hardware_ove.../OnePlus/N2/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

22 lines
1.1 KiB
XML
Executable file

<?xml version="1.0" encoding="utf-8"?>
<resources>
<bool name="config_useDevInputEventForAudioJack">true</bool>
<bool name="config_showNavigationBar">true</bool>
<bool name="config_fillMainBuiltInDisplayCutout">false</bool>
<bool name="config_dozeAlwaysOnDisplayAvailable">true</bool>
<bool name="config_powerDecoupleAutoSuspendModeFromDisplay">true</bool>
<bool name="config_powerDecoupleInteractiveModeFromDisplay">true</bool>
<bool name="config_enableBurnInProtection">true</bool>
<dimen name="status_bar_height">139px</dimen>
<dimen name="status_bar_height_portrait">139px</dimen>
<dimen name="status_bar_height_landscape">28dp</dimen>
<dimen name="quick_qs_offset_height">139px</dimen>
<integer name="config_screenBrightnessDoze">2</integer>
<integer name="config_screenBrightnessSettingMinimum">1</integer>
<string name="config_mainBuiltInDisplayCutout">M -540,0 L -540,100 L -401,100 L -401,0 Z</string>
<string name="config_mainBuiltInDisplayCutoutRectApproximation">M -540,0 L -540,100 L -401,100 L -401,0 Z</string>
</resources>