From e952e3165a791e9a3032466337ae3d84449c53ca Mon Sep 17 00:00:00 2001 From: Roshan Pius Date: Wed, 25 Oct 2023 14:35:45 -0700 Subject: [PATCH] lynx(nfc): Modify NFC overlays for NFC apex Bug: 307763519 Test: Manual flash and tested the overlay values are taking effect. Change-Id: Iba38290fa7ef97d578036a140138c07a6c080aa3 --- device-lynx.mk | 3 ++- rro_overlays/NfcOverlay/Android.bp | 9 +++++++ rro_overlays/NfcOverlay/AndroidManifest.xml | 27 +++++++++++++++++++ rro_overlays/NfcOverlay/OWNERS | 2 ++ .../NfcOverlay}/res/values/config.xml | 0 5 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 rro_overlays/NfcOverlay/Android.bp create mode 100644 rro_overlays/NfcOverlay/AndroidManifest.xml create mode 100644 rro_overlays/NfcOverlay/OWNERS rename {lynx/overlay/packages/apps/Nfc => rro_overlays/NfcOverlay}/res/values/config.xml (100%) diff --git a/device-lynx.mk b/device-lynx.mk index ea17b2e..3f621b7 100644 --- a/device-lynx.mk +++ b/device-lynx.mk @@ -80,7 +80,8 @@ PRODUCT_COPY_FILES += \ PRODUCT_PACKAGES += \ com.android.nfcservices \ Tag \ - android.hardware.nfc-service.st + android.hardware.nfc-service.st \ + NfcOverlayLynx # SecureElement PRODUCT_PACKAGES += \ diff --git a/rro_overlays/NfcOverlay/Android.bp b/rro_overlays/NfcOverlay/Android.bp new file mode 100644 index 0000000..0b3fcb6 --- /dev/null +++ b/rro_overlays/NfcOverlay/Android.bp @@ -0,0 +1,9 @@ +package { + default_applicable_licenses: ["device_google_lynx_license"], +} + +runtime_resource_overlay { + name: "NfcOverlayLynx", + sdk_version: "current", + product_specific: true +} diff --git a/rro_overlays/NfcOverlay/AndroidManifest.xml b/rro_overlays/NfcOverlay/AndroidManifest.xml new file mode 100644 index 0000000..5241aa4 --- /dev/null +++ b/rro_overlays/NfcOverlay/AndroidManifest.xml @@ -0,0 +1,27 @@ + + + + + + + diff --git a/rro_overlays/NfcOverlay/OWNERS b/rro_overlays/NfcOverlay/OWNERS new file mode 100644 index 0000000..35e9713 --- /dev/null +++ b/rro_overlays/NfcOverlay/OWNERS @@ -0,0 +1,2 @@ +# Bug component: 48448 +include platform/packages/apps/Nfc:/OWNERS diff --git a/lynx/overlay/packages/apps/Nfc/res/values/config.xml b/rro_overlays/NfcOverlay/res/values/config.xml similarity index 100% rename from lynx/overlay/packages/apps/Nfc/res/values/config.xml rename to rro_overlays/NfcOverlay/res/values/config.xml