cupid: overlay: Enable secure NFC functionality

Change-Id: I4e9acc7d8ec14237512aadf100d564984aa5a896
Co-authored-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
This commit is contained in:
Omkar Chandorkar 2023-06-15 14:26:05 +09:00 committed by Arian
parent e3b388731b
commit 149e205b3c
4 changed files with 32 additions and 0 deletions

View File

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

10
overlay/Nfc/Android.bp Normal file
View File

@ -0,0 +1,10 @@
//
// Copyright (C) 2024 The LineageOS Project
//
// SPDX-License-Identifier: Apache-2.0
//
runtime_resource_overlay {
name: "NfcResCupid",
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="com.android.nfc.overlay.cupid">
<overlay android:targetPackage="com.android.nfc"
android:isStatic="true"
android:priority="700"/>
</manifest>

View File

@ -0,0 +1,11 @@
<?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">
<!-- List of SKUs where Secure NFC functionality is supported -->
<string-array name="config_skuSupportsSecureNfc" translatable="false">
<item>cupid</item>
</string-array>
</resources>