Revert^2 "comet(nfc): Modify NFC overlays for NFC apex"

fffed73cbe

Bug: 303286040
Test: Compiles

Change-Id: Ia9533b0e3c85c36266d1299e78dffb7f8d651486
This commit is contained in:
Roshan Pius 2023-12-01 19:19:56 +00:00
parent 67f4f2b94c
commit 4fc5c22105
5 changed files with 64 additions and 1 deletions

View file

@ -80,7 +80,8 @@ PRODUCT_COPY_FILES += \
PRODUCT_PACKAGES += \
$(RELEASE_PACKAGE_NFC_STACK) \
Tag \
android.hardware.nfc-service.st
android.hardware.nfc-service.st \
NfcOverlayComet
# SecureElement
PRODUCT_PACKAGES += \

View file

@ -0,0 +1,9 @@
package {
default_applicable_licenses: ["device_google_comet_license"],
}
runtime_resource_overlay {
name: "NfcOverlayComet",
sdk_version: "current",
product_specific: true
}

View file

@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2023 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- Pixel specific nfc overlays -->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.nfc.overlay"
android:versionCode="1"
android:versionName="1.0">
<application android:hasCode="false" />
<overlay
android:targetPackage="com.android.nfc"
android:targetName="NfcCustomization"
android:isStatic="true"
android:priority="0"/>
</manifest>

View file

@ -0,0 +1,2 @@
# Bug component: 48448
include platform/packages/apps/Nfc:/OWNERS

View file

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2023 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<resources>
<bool name="nfcc_always_on_allowed">false</bool>
<bool name="polling_disable_allowed">false</bool>
<string-array name="config_skuSupportsSecureNfc" translatable="false">
<item>GGH2X</item>
<item>GC15S</item>
</string-array>
<bool name="tag_intent_app_pref_supported">true</bool>
</resources>