diff options
author | 2022-02-03 18:02:20 +0000 | |
---|---|---|
committer | 2022-02-03 18:06:02 +0000 | |
commit | c945c1b8c2beda7f2b9041e88c6ddd1657a6afba (patch) | |
tree | 683091049d85ed162f20af478ade291438b51cfa | |
parent | 7ae2eac6b2b091afd7830bb9265d66a9c9e866bf (diff) |
Add feature XML for head tracker sensor
Bug: 217256837
Test: compile
Change-Id: Idb75c405adfe927527c8cc564d4d167e520cb218
-rw-r--r-- | data/etc/Android.bp | 6 | ||||
-rw-r--r-- | data/etc/android.hardware.sensor.dynamic.head_tracker.xml | 20 |
2 files changed, 26 insertions, 0 deletions
diff --git a/data/etc/Android.bp b/data/etc/Android.bp index 31dee235e8..5003151b51 100644 --- a/data/etc/Android.bp +++ b/data/etc/Android.bp @@ -119,6 +119,12 @@ prebuilt_etc { } prebuilt_etc { + name: "android.hardware.sensor.dynamic.head_tracker.prebuilt.xml", + src: "android.hardware.sensor.dynamic.head_tracker.xml", + defaults: ["frameworks_native_data_etc_defaults"], +} + +prebuilt_etc { name: "android.hardware.sensor.gyroscope.prebuilt.xml", src: "android.hardware.sensor.gyroscope.xml", defaults: ["frameworks_native_data_etc_defaults"], diff --git a/data/etc/android.hardware.sensor.dynamic.head_tracker.xml b/data/etc/android.hardware.sensor.dynamic.head_tracker.xml new file mode 100644 index 0000000000..ece58c9a72 --- /dev/null +++ b/data/etc/android.hardware.sensor.dynamic.head_tracker.xml @@ -0,0 +1,20 @@ +<?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. +--> + +<!-- Feature for devices with a head tracker sensor. --> +<permissions> + <feature name="android.hardware.sensor.dynamic.head_tracker" /> +</permissions>
\ No newline at end of file |