Revert^2 "shusky(nfc): Modify NFC overlays for NFC apex"
d92852d647
Bug: 303286040
Test: Compiles
Change-Id: Id67a6514a7d3f0359d95aa06c31cb694e9b35ffa
This commit is contained in:
parent
53b580feb7
commit
93e2530f35
10 changed files with 152 additions and 0 deletions
|
@ -429,3 +429,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 \
|
||||||
|
|
|
@ -395,3 +395,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
|
35
husky/rro_overlays/NfcOverlay/res/values/config.xml
Normal file
35
husky/rro_overlays/NfcOverlay/res/values/config.xml
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Copyright (C) 2022 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">true</bool>
|
||||||
|
<string-array name="config_skuSupportsSecureNfc" translatable="false">
|
||||||
|
<item>GC3VE</item>
|
||||||
|
<item>G1MNW</item>
|
||||||
|
<item>GE9DP</item>
|
||||||
|
</string-array>
|
||||||
|
<bool name="tag_intent_app_pref_supported">true</bool>
|
||||||
|
<!-- NFC Antenna Location API -->
|
||||||
|
<integer name="device_width">73</integer>
|
||||||
|
<integer name="device_height">158</integer>
|
||||||
|
<bool name="device_foldable">false</bool>
|
||||||
|
<integer-array name="antenna_x">
|
||||||
|
<item>37</item>
|
||||||
|
</integer-array>
|
||||||
|
<integer-array name="antenna_y">
|
||||||
|
<item>103</item>
|
||||||
|
</integer-array>
|
||||||
|
</resources>
|
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
|
35
shiba/rro_overlays/NfcOverlay/res/values/config.xml
Normal file
35
shiba/rro_overlays/NfcOverlay/res/values/config.xml
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Copyright (C) 2022 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">true</bool>
|
||||||
|
<string-array name="config_skuSupportsSecureNfc" translatable="false">
|
||||||
|
<item>GKWS6</item>
|
||||||
|
<item>GZPF0</item>
|
||||||
|
<item>GPJ41</item>
|
||||||
|
</string-array>
|
||||||
|
<bool name="tag_intent_app_pref_supported">true</bool>
|
||||||
|
<!-- NFC Antenna Location API -->
|
||||||
|
<integer name="device_width">68</integer>
|
||||||
|
<integer name="device_height">146</integer>
|
||||||
|
<bool name="device_foldable">false</bool>
|
||||||
|
<integer-array name="antenna_x">
|
||||||
|
<item>34</item>
|
||||||
|
</integer-array>
|
||||||
|
<integer-array name="antenna_y">
|
||||||
|
<item>97</item>
|
||||||
|
</integer-array>
|
||||||
|
</resources>
|
Loading…
Add table
Add a link
Reference in a new issue