sweet: overlay-lineage: Specify device has a notch

Change-Id: Ib912728020f85c820b10d5102365dc37f9a54342
This commit is contained in:
Luca Stefani 2018-07-15 20:16:49 +02:00 committed by AdarshGrewal
parent 0db882ff27
commit f238afe71e
2 changed files with 20 additions and 1 deletions

View File

@ -42,7 +42,8 @@ PRODUCT_COPY_FILES += \
# Overlay
DEVICE_PACKAGE_OVERLAYS += \
$(LOCAL_PATH)/overlay
$(LOCAL_PATH)/overlay \
$(LOCAL_PATH)/overlay-lineage
# Overlay-RRO
PRODUCT_PACKAGES += \

View File

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2015-2016 The CyanogenMod Project
2017-2018 The LineageOS 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>
<!-- Whether device has a notch -->
<bool name="config_haveNotch">true</bool>
</resources>