shusky(nfc): Modify NFC overlays for NFC apex
Bug: 307763519 Test: Manual flash and tested the overlay values are taking effect. Change-Id: Ie400238eaf2d1e229ea80bfc4c2f12a5edc79437
This commit is contained in:
parent
1304fd7a3b
commit
3f970e7ab1
10 changed files with 82 additions and 0 deletions
|
@ -427,3 +427,6 @@ PRODUCT_PACKAGES += shusky_assignable_devices.xml
|
||||||
# Enable DeviceAsWebcam support
|
# Enable DeviceAsWebcam support
|
||||||
PRODUCT_VENDOR_PROPERTIES += \
|
PRODUCT_VENDOR_PROPERTIES += \
|
||||||
ro.usb.uvc.enabled=true
|
ro.usb.uvc.enabled=true
|
||||||
|
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
NfcOverlayHusky \
|
||||||
|
|
|
@ -393,3 +393,6 @@ PRODUCT_PACKAGES += shusky_assignable_devices.xml
|
||||||
# Enable DeviceAsWebcam support
|
# Enable DeviceAsWebcam support
|
||||||
PRODUCT_VENDOR_PROPERTIES += \
|
PRODUCT_VENDOR_PROPERTIES += \
|
||||||
ro.usb.uvc.enabled=true
|
ro.usb.uvc.enabled=true
|
||||||
|
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
NfcOverlayShiba
|
||||||
|
|
9
husky/rro_overlays/NfcOverlay/Android.bp
Normal file
9
husky/rro_overlays/NfcOverlay/Android.bp
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
package {
|
||||||
|
default_applicable_licenses: ["device_google_shusky_license"],
|
||||||
|
}
|
||||||
|
|
||||||
|
runtime_resource_overlay {
|
||||||
|
name: "NfcOverlayHusky",
|
||||||
|
sdk_version: "current",
|
||||||
|
product_specific: true
|
||||||
|
}
|
27
husky/rro_overlays/NfcOverlay/AndroidManifest.xml
Normal file
27
husky/rro_overlays/NfcOverlay/AndroidManifest.xml
Normal 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>
|
2
husky/rro_overlays/NfcOverlay/OWNERS
Normal file
2
husky/rro_overlays/NfcOverlay/OWNERS
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
# Bug component: 48448
|
||||||
|
include platform/packages/apps/Nfc:/OWNERS
|
9
shiba/rro_overlays/NfcOverlay/Android.bp
Normal file
9
shiba/rro_overlays/NfcOverlay/Android.bp
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
package {
|
||||||
|
default_applicable_licenses: ["device_google_shusky_license"],
|
||||||
|
}
|
||||||
|
|
||||||
|
runtime_resource_overlay {
|
||||||
|
name: "NfcOverlayShiba",
|
||||||
|
sdk_version: "current",
|
||||||
|
product_specific: true
|
||||||
|
}
|
27
shiba/rro_overlays/NfcOverlay/AndroidManifest.xml
Normal file
27
shiba/rro_overlays/NfcOverlay/AndroidManifest.xml
Normal 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>
|
2
shiba/rro_overlays/NfcOverlay/OWNERS
Normal file
2
shiba/rro_overlays/NfcOverlay/OWNERS
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
# Bug component: 48448
|
||||||
|
include platform/packages/apps/Nfc:/OWNERS
|
Loading…
Add table
Add a link
Reference in a new issue