From 1ce3efae166d7f82e8e35a74b7dca98d2cde04dd Mon Sep 17 00:00:00 2001 From: Roshan Pius Date: Fri, 1 Dec 2023 19:19:56 +0000 Subject: [PATCH] Revert^2 "lynx(nfc): Modify NFC overlays for NFC apex" b8729b4c8c4cd02b13a4456355a5b4cfc88eefa8 Bug: 303286040 Test: Compiles (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:1d9b0c8f2664145ee69894624f5223a7ee6c8bee) Merged-In: I8078db2061a83f4ebac2e46c1cec96e3c363b225 Change-Id: I8078db2061a83f4ebac2e46c1cec96e3c363b225 Change-Id: I46ba4495364a794d87817c2fac9f4f974fc8ea21 --- device-lynx.mk | 3 +- rro_overlays/NfcOverlay/Android.bp | 9 +++++ rro_overlays/NfcOverlay/AndroidManifest.xml | 27 ++++++++++++++ rro_overlays/NfcOverlay/OWNERS | 2 ++ rro_overlays/NfcOverlay/res/values/config.xml | 35 +++++++++++++++++++ 5 files changed, 75 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 create mode 100644 rro_overlays/NfcOverlay/res/values/config.xml diff --git a/device-lynx.mk b/device-lynx.mk index ac90b11..07f7f73 100644 --- a/device-lynx.mk +++ b/device-lynx.mk @@ -80,7 +80,8 @@ PRODUCT_COPY_FILES += \ PRODUCT_PACKAGES += \ NfcNci \ 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/rro_overlays/NfcOverlay/res/values/config.xml b/rro_overlays/NfcOverlay/res/values/config.xml new file mode 100644 index 0000000..4a8efa9 --- /dev/null +++ b/rro_overlays/NfcOverlay/res/values/config.xml @@ -0,0 +1,35 @@ + + + + false + + G0DZQ + GWKK3 + GHL1X + G82U8 + + true + + 70 + 150 + false + + 36 + + + 102 + +