sdk: Add an overlay to specify notch presence

Change-Id: Ia6a39484a45c2bbe300d9cf905999d405d11aa22
This commit is contained in:
Luca Stefani
2018-07-15 20:06:19 +02:00
parent 9a5742fc33
commit 67da139fbb
2 changed files with 6 additions and 0 deletions

View File

@@ -243,4 +243,7 @@
<!-- Whether device has a screen with a higher aspect ratio -->
<bool name="config_haveHigherAspectRatioScreen">false</bool>
<!-- Whether device has a notch -->
<bool name="config_haveNotch">false</bool>
</resources>

View File

@@ -185,4 +185,7 @@
<!-- Full screen aspect ratio -->
<java-symbol type="bool" name="config_haveHigherAspectRatioScreen" />
<!-- Notch -->
<java-symbol type="bool" name="config_haveNotch" />
</resources>