cupid: overlay-lineage: Declare support for wireless charging

Change-Id: Iba6a8b357779a3bb2134f2fc0878819339615239
This commit is contained in:
Bruno Martins 2021-06-05 15:50:10 +01:00 committed by Arian
parent 71cfb1653c
commit dccff436c4
4 changed files with 30 additions and 0 deletions

View File

@ -14,6 +14,7 @@ $(call inherit-product, vendor/xiaomi/cupid/cupid-vendor.mk)
PRODUCT_PACKAGES += \
ApertureResCupid \
FrameworksResCupid \
LineageResCupid \
NfcResCupid \
SettingsProviderResCupid \
SettingsResCupid \

View File

@ -0,0 +1,10 @@
//
// Copyright (C) 2024 The LineageOS Project
//
// SPDX-License-Identifier: Apache-2.0
//
runtime_resource_overlay {
name: "LineageResCupid",
device_specific: true,
}

View File

@ -0,0 +1,10 @@
<!--
Copyright (C) 2024 The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="lineageos.platform.overlay.cupid">
<overlay android:targetPackage="lineageos.platform"
android:isStatic="true"
android:priority="700"/>
</manifest>

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2024 The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Whether the device supports wireless charging or not -->
<bool name="config_deviceSupportsWirelessCharging">true</bool>
</resources>