zeus: 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 Bartłomiej Rudecki
parent 7a6a3ad83e
commit 6c241ebecd
4 changed files with 32 additions and 0 deletions

View file

@ -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
View 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,
}

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.zeus">
<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>zeus</item>
</string-array>
</resources>