Browse Source

cupid: overlay: Commonize wireless charging overlay

This will be enabled in sm8450-common if the wireless charging
file paths exist.

Change-Id: Ib0437c39e0551eaa7d5b03d9c993495dd8d0fc55
Arian 6 months ago
parent
commit
17ee052635

+ 0 - 1
device.mk

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

+ 0 - 10
overlay/Lineage/Android.bp

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

+ 0 - 10
overlay/Lineage/AndroidManifest.xml

@@ -1,10 +0,0 @@
-<!--
-     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>

+ 0 - 9
overlay/Lineage/res/values/config.xml

@@ -1,9 +0,0 @@
-<?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>