Add feature strings for newly added sensors
Added the feature strings for: * Ambient Temperature Sensor * Relative Humidity Sensor Bug:25476695 Change-Id: Ib307bebe33c67ddb8513edfb37c697c1488f1a7f
This commit is contained in:
parent
f24aae872d
commit
c73c6816cf
2 changed files with 40 additions and 0 deletions
20
data/etc/android.hardware.sensor.ambient_temperature.xml
Normal file
20
data/etc/android.hardware.sensor.ambient_temperature.xml
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Copyright (C) 2009 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 an ambient temperature sensor. -->
|
||||||
|
<permissions>
|
||||||
|
<feature name="android.hardware.sensor.ambient_temperature" />
|
||||||
|
</permissions>
|
20
data/etc/android.hardware.sensor.relative_humidity.xml
Normal file
20
data/etc/android.hardware.sensor.relative_humidity.xml
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!-- Copyright (C) 2009 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 relative humidity sensor. -->
|
||||||
|
<permissions>
|
||||||
|
<feature name="android.hardware.sensor.relative_humidity" />
|
||||||
|
</permissions>
|
Loading…
Reference in a new issue