diff options
author | Dan Morrill <morrildl@google.com> | 2010-09-01 19:18:57 -0700 |
---|---|---|
committer | Dan Morrill <morrildl@google.com> | 2010-09-21 15:27:07 -0700 |
commit | 5744bb4aa5dea525d1ae236cd16379134024eae1 (patch) | |
tree | 0c3db66479ca82fd71e33d799749593eb4476348 /data | |
parent | 87d208f7ea7d8fc518d1403aae6d1ba1833bff13 (diff) | |
download | frameworks_base-5744bb4aa5dea525d1ae236cd16379134024eae1.zip frameworks_base-5744bb4aa5dea525d1ae236cd16379134024eae1.tar.gz frameworks_base-5744bb4aa5dea525d1ae236cd16379134024eae1.tar.bz2 |
Adding new feature definitions for new sensors (barometer and gyroscope.)
Change-Id: Ic3a35c7b277921eaa5b05e3285b6aed5ed75bea6
Diffstat (limited to 'data')
-rw-r--r-- | data/etc/android.hardware.sensor.barometer.xml | 20 | ||||
-rw-r--r-- | data/etc/android.hardware.sensor.gyroscope.xml | 20 |
2 files changed, 40 insertions, 0 deletions
diff --git a/data/etc/android.hardware.sensor.barometer.xml b/data/etc/android.hardware.sensor.barometer.xml new file mode 100644 index 0000000..ebd392d --- /dev/null +++ b/data/etc/android.hardware.sensor.barometer.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2010 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 barometer. --> +<permissions> + <feature name="android.hardware.sensor.barometer" /> +</permissions> diff --git a/data/etc/android.hardware.sensor.gyroscope.xml b/data/etc/android.hardware.sensor.gyroscope.xml new file mode 100644 index 0000000..fe79632 --- /dev/null +++ b/data/etc/android.hardware.sensor.gyroscope.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2010 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 gyroscope. --> +<permissions> + <feature name="android.hardware.sensor.gyroscope" /> +</permissions> |