zeus: overlay: Enable secure NFC functionality
Change-Id: I4e9acc7d8ec14237512aadf100d564984aa5a896 Co-authored-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
This commit is contained in:
parent
7a6a3ad83e
commit
6c241ebecd
4 changed files with 32 additions and 0 deletions
|
@ -14,6 +14,7 @@ $(call inherit-product, vendor/xiaomi/zeus/zeus-vendor.mk)
|
|||
PRODUCT_PACKAGES += \
|
||||
ApertureResZeus \
|
||||
FrameworksResZeus \
|
||||
NfcResZeus \
|
||||
SettingsProviderResZeus \
|
||||
SystemUIResZeus \
|
||||
WifiResZeus
|
||||
|
|
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: "NfcResZeus",
|
||||
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.zeus">
|
||||
<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>zeus</item>
|
||||
</string-array>
|
||||
</resources>
|
Loading…
Reference in a new issue