android_vendor_hardware_ove.../Asus/ZenFone5/res/values/notch.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

28 lines
1.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
/*
** Copyright 2017, The Android Open Source Project
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
** http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
*/
-->
<resources>
<!-- Height of the status bar -->
<dimen name="status_bar_height">87px</dimen>
<!-- Height of the status bar in portrait -->
<dimen name="status_bar_height_portrait">87px</dimen>
<!-- Height of the status bar in landscape -->
<dimen name="status_bar_height_landscape">24dp</dimen>
<string translatable="false" name="config_mainBuiltInDisplayCutout">M -218,0 L -218,87 L 218,87 L 218,0 Z</string>
</resources>