summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-02-02 23:45:09 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-02-02 23:45:09 +0000
commit9c99a52ec659fe0f0e77f2e2fbe33184bc7020e5 (patch)
tree13103e156177a931497015b7adc64c8316ab0d92
parentfa96eaf8c5c081cdfba5ee5bcbd4a6d537702d8e (diff)
parenta1c82b7c3d0c63d1ebc8549e2f61bbc19a6855f5 (diff)
downloadbramble-simpleperf-release.tar.gz
Snap for 11400057 from a1c82b7c3d0c63d1ebc8549e2f61bbc19a6855f5 to simpleperf-releasesimpleperf-release
Change-Id: I8f5e95b8637f9403162658d5a111c0e8d4a82523
-rw-r--r--bramble/BoardConfig.mk2
-rw-r--r--bramble/rro_overlays/NfcOverlay/Android.bp9
-rw-r--r--bramble/rro_overlays/NfcOverlay/AndroidManifest.xml27
-rw-r--r--bramble/rro_overlays/NfcOverlay/OWNERS2
-rw-r--r--bramble/rro_overlays/NfcOverlay/res/values/config.xml38
-rw-r--r--device-bramble.mk3
6 files changed, 81 insertions, 0 deletions
diff --git a/bramble/BoardConfig.mk b/bramble/BoardConfig.mk
index 9f4b675..bed4081 100644
--- a/bramble/BoardConfig.mk
+++ b/bramble/BoardConfig.mk
@@ -31,3 +31,5 @@ else
-include vendor/google_devices/bramble/proprietary/BoardConfigVendor.mk
endif
+
+BUILD_BROKEN_INCORRECT_PARTITION_IMAGES := true
diff --git a/bramble/rro_overlays/NfcOverlay/Android.bp b/bramble/rro_overlays/NfcOverlay/Android.bp
new file mode 100644
index 0000000..24d1c23
--- /dev/null
+++ b/bramble/rro_overlays/NfcOverlay/Android.bp
@@ -0,0 +1,9 @@
+package {
+ default_applicable_licenses: ["device_google_bramble_license"],
+}
+
+runtime_resource_overlay {
+ name: "NfcOverlayBramble",
+ sdk_version: "current",
+ product_specific: true
+}
diff --git a/bramble/rro_overlays/NfcOverlay/AndroidManifest.xml b/bramble/rro_overlays/NfcOverlay/AndroidManifest.xml
new file mode 100644
index 0000000..5241aa4
--- /dev/null
+++ b/bramble/rro_overlays/NfcOverlay/AndroidManifest.xml
@@ -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>
diff --git a/bramble/rro_overlays/NfcOverlay/OWNERS b/bramble/rro_overlays/NfcOverlay/OWNERS
new file mode 100644
index 0000000..35e9713
--- /dev/null
+++ b/bramble/rro_overlays/NfcOverlay/OWNERS
@@ -0,0 +1,2 @@
+# Bug component: 48448
+include platform/packages/apps/Nfc:/OWNERS
diff --git a/bramble/rro_overlays/NfcOverlay/res/values/config.xml b/bramble/rro_overlays/NfcOverlay/res/values/config.xml
new file mode 100644
index 0000000..fe16e58
--- /dev/null
+++ b/bramble/rro_overlays/NfcOverlay/res/values/config.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2020 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="enable_antenna_blocked_alert">false</bool>
+ <integer name="max_antenna_blocked_failure_count">10</integer>
+ <integer name="unknown_tag_polling_delay">2000</integer>
+ <string name="antenna_blocked_alert_link" translatable="false">https://support.google.com/pixelphone?p=nfc_tag_notification</string>
+ <string-array name="config_skuSupportsSecureNfc" translatable="false">
+ <item>G025E</item>
+ <item>G025I</item>
+ <item>G025H</item>
+ <item>G6QU3</item>
+ </string-array>
+ <bool name="tag_intent_app_pref_supported">true</bool>
+ <!-- NFC Antenna Location API -->
+ <integer name="device_width">70</integer>
+ <integer name="device_height">150</integer>
+ <bool name="device_foldable">false</bool>
+ <integer-array name="antenna_x">
+ <item>39</item>
+ </integer-array>
+ <integer-array name="antenna_y">
+ <item>87</item>
+ </integer-array>
+</resources>
diff --git a/device-bramble.mk b/device-bramble.mk
index bbf0368..a3bf089 100644
--- a/device-bramble.mk
+++ b/device-bramble.mk
@@ -208,3 +208,6 @@ PRODUCT_PACKAGES += \
# Workaround for Qualcomm neural network HAL
PRODUCT_PACKAGES += \
libprotobuf-cpp-full-3.9.1-vendorcompat
+
+PRODUCT_PACKAGES += \
+ NfcOverlayBramble