cupid: overlay-lineage: Declare support for wireless charging

Change-Id: Iba6a8b357779a3bb2134f2fc0878819339615239
Этот коммит содержится в:
Bruno Martins
2021-06-05 15:50:10 +01:00
коммит произвёл Arian
родитель 71cfb1653c
Коммит dccff436c4
4 изменённых файлов: 30 добавлений и 0 удалений

Просмотреть файл

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

10
overlay/Lineage/Android.bp Обычный файл
Просмотреть файл

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

10
overlay/Lineage/AndroidManifest.xml Обычный файл
Просмотреть файл

@@ -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>

9
overlay/Lineage/res/values/config.xml Обычный файл
Просмотреть файл

@@ -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>