summaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorPeng Xu2015-12-02 18:06:39 -0600
committerAndroid (Google) Code Review2015-12-02 18:06:39 -0600
commit2fb017276ca2e8bd8214df03be4aa8f9e8319808 (patch)
tree9ad0b2936f50de4365c80a401944f1d247493727 /data
parent438afe17614b357ac5482f061cbfd38e1baeb493 (diff)
parentc73c6816cf67474e85883fd991f7ac055709ab9f (diff)
downloadframeworks-native-2fb017276ca2e8bd8214df03be4aa8f9e8319808.tar.gz
frameworks-native-2fb017276ca2e8bd8214df03be4aa8f9e8319808.tar.xz
frameworks-native-2fb017276ca2e8bd8214df03be4aa8f9e8319808.zip
Merge "Add feature strings for newly added sensors"
Diffstat (limited to 'data')
-rw-r--r--data/etc/android.hardware.sensor.ambient_temperature.xml20
-rw-r--r--data/etc/android.hardware.sensor.relative_humidity.xml20
2 files changed, 40 insertions, 0 deletions
diff --git a/data/etc/android.hardware.sensor.ambient_temperature.xml b/data/etc/android.hardware.sensor.ambient_temperature.xml
new file mode 100644
index 000000000..8ad140ea7
--- /dev/null
+++ b/data/etc/android.hardware.sensor.ambient_temperature.xml
@@ -0,0 +1,20 @@
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2009 The Android Open Source Project
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15-->
16
17<!-- Feature for devices with an ambient temperature sensor. -->
18<permissions>
19 <feature name="android.hardware.sensor.ambient_temperature" />
20</permissions>
diff --git a/data/etc/android.hardware.sensor.relative_humidity.xml b/data/etc/android.hardware.sensor.relative_humidity.xml
new file mode 100644
index 000000000..b9432d34a
--- /dev/null
+++ b/data/etc/android.hardware.sensor.relative_humidity.xml
@@ -0,0 +1,20 @@
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2009 The Android Open Source Project
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15-->
16
17<!-- Feature for devices with a relative humidity sensor. -->
18<permissions>
19 <feature name="android.hardware.sensor.relative_humidity" />
20</permissions>