Revert^2 "felix(nfc): Modify NFC overlays for NFC apex"
e274b4177a
Bug: 303286040
Test: Compiles
Change-Id: I56beefccd8cd5f5d12f6b867a31af60314826242
This commit is contained in:
parent
d67ac5d535
commit
7777a61a89
5 changed files with 75 additions and 1 deletions
9
rro_overlays/NfcOverlay/Android.bp
Normal file
9
rro_overlays/NfcOverlay/Android.bp
Normal file
|
@ -0,0 +1,9 @@
|
|||
package {
|
||||
default_applicable_licenses: ["device_google_felix_license"],
|
||||
}
|
||||
|
||||
runtime_resource_overlay {
|
||||
name: "NfcOverlayFelix",
|
||||
sdk_version: "current",
|
||||
product_specific: true
|
||||
}
|
27
rro_overlays/NfcOverlay/AndroidManifest.xml
Normal file
27
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
rro_overlays/NfcOverlay/OWNERS
Normal file
2
rro_overlays/NfcOverlay/OWNERS
Normal file
|
@ -0,0 +1,2 @@
|
|||
# Bug component: 48448
|
||||
include platform/packages/apps/Nfc:/OWNERS
|
35
rro_overlays/NfcOverlay/res/values/config.xml
Normal file
35
rro_overlays/NfcOverlay/res/values/config.xml
Normal file
|
@ -0,0 +1,35 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2021 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">true</bool>
|
||||
<string-array name="config_skuSupportsSecureNfc" translatable="false">
|
||||
<item>G9FPL</item>
|
||||
<item>G0B96</item>
|
||||
</string-array>
|
||||
<bool name="tag_intent_app_pref_supported">true</bool>
|
||||
<!-- NFC Antenna Location API -->
|
||||
<integer name="device_width">160</integer>
|
||||
<integer name="device_height">140</integer>
|
||||
<bool name="device_foldable">true</bool>
|
||||
<integer-array name="antenna_x">
|
||||
<item>90</item>
|
||||
<item>30</item>
|
||||
</integer-array>
|
||||
<integer-array name="antenna_y">
|
||||
<item>103</item>
|
||||
<item>103</item>
|
||||
</integer-array>
|
||||
</resources>
|
Loading…
Add table
Add a link
Reference in a new issue