Merge "uwb: add overlay" into 24D1-dev
This commit is contained in:
commit
53c1f9c2f4
4 changed files with 81 additions and 0 deletions
18
komodo/rro_overlays/UwbOverlay/Android.bp
Normal file
18
komodo/rro_overlays/UwbOverlay/Android.bp
Normal 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
|
||||||
|
}
|
27
komodo/rro_overlays/UwbOverlay/AndroidManifest.xml
Normal file
27
komodo/rro_overlays/UwbOverlay/AndroidManifest.xml
Normal 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>
|
3
komodo/rro_overlays/UwbOverlay/OWNERS
Normal file
3
komodo/rro_overlays/UwbOverlay/OWNERS
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
# People who can approve changes for submission
|
||||||
|
include platform/packages/modules/Uwb:/OWNERS
|
||||||
|
victorliu@google.com
|
33
komodo/rro_overlays/UwbOverlay/res/values/config.xml
Normal file
33
komodo/rro_overlays/UwbOverlay/res/values/config.xml
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue