cupid: overlay: Enable secure NFC functionality
Change-Id: I4e9acc7d8ec14237512aadf100d564984aa5a896 Co-authored-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
This commit is contained in:
parent
e3b388731b
commit
149e205b3c
@ -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
10
overlay/Nfc/Android.bp
Normal 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,
|
||||
}
|
10
overlay/Nfc/AndroidManifest.xml
Normal file
10
overlay/Nfc/AndroidManifest.xml
Normal 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>
|
11
overlay/Nfc/res/values/config.xml
Normal file
11
overlay/Nfc/res/values/config.xml
Normal 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>
|
Loading…
Reference in New Issue
Block a user