uwb: add overlay

Bug: 328328781
Signed-off-by: Victor Liu <victorliu@google.com>
Change-Id: I334581d19312c98f26577a509b910db9b8ded215
This commit is contained in:
Victor Liu 2024-03-05 14:30:20 -08:00
parent 2bda846652
commit 1627551b73
4 changed files with 81 additions and 0 deletions

View file

@ -0,0 +1,18 @@
package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "//device/google/caimito:device_google_caimito_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: [
"//device/google/caimito:device_google_caimito_license",
],
}
runtime_resource_overlay {
name: "UwbOverlayKM4",
theme: "UwbOverlayKM4",
certificate: "platform",
sdk_version: "current",
product_specific: true
}

View file

@ -0,0 +1,27 @@
<?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.
-->
<!-- Pixel specific uwb overlays -->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.uwb.resources.pixel"
android:versionCode="1"
android:versionName="1.0">
<application android:hasCode="false" />
<overlay
android:targetPackage="com.android.uwb.resources"
android:targetName="UwbCustomization"
android:isStatic="true"
android:priority="0"/>
</manifest>

View file

@ -0,0 +1,3 @@
# People who can approve changes for submission
include platform/packages/modules/Uwb:/OWNERS
victorliu@google.com

View file

@ -0,0 +1,33 @@
<?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>
<!-- When true, the filter engine will alter UWB values to improve accuracy. -->
<bool name="enable_filters">true</bool>
<!-- Enables the AoA conversion primer. This is needed on hardware that does not convert AoA
to spherical coordinates, including hardware that does not support elevation.-->
<bool name="enable_primer_aoa">true</bool>
<!-- Whether background ranging is enabled or not
If enabled:
* Background 3p apps are allowed to open new ranging sessions
* When previously foreground 3p apps moves to background, sessions are not terminated
-->
<bool name = "background_ranging_enabled">true</bool>
</resources>