summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAravind Akella <aakella@google.com>2013-10-14 10:52:12 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-10-14 10:52:12 -0700
commitc60f1ad0fa0dd31a774517d1c0081465e4169f91 (patch)
treed068a6469dc779808fa91d3bdb6ff89c0ddc5133
parent4df2dae1c9265460c50635d2d37a547171239473 (diff)
parent055558b257e893b50a7dff1d60f6ccc970abe46c (diff)
downloadframeworks_native-c60f1ad0fa0dd31a774517d1c0081465e4169f91.zip
frameworks_native-c60f1ad0fa0dd31a774517d1c0081465e4169f91.tar.gz
frameworks_native-c60f1ad0fa0dd31a774517d1c0081465e4169f91.tar.bz2
am 055558b2: am 2d344979: Merge "Adding PackageManager feature strings for stepcounter and stepdetector." into klp-dev
* commit '055558b257e893b50a7dff1d60f6ccc970abe46c': Adding PackageManager feature strings for stepcounter and stepdetector.
-rw-r--r--data/etc/android.hardware.sensor.stepcounter.xml20
-rw-r--r--data/etc/android.hardware.sensor.stepdetector.xml20
2 files changed, 40 insertions, 0 deletions
diff --git a/data/etc/android.hardware.sensor.stepcounter.xml b/data/etc/android.hardware.sensor.stepcounter.xml
new file mode 100644
index 0000000..401ae92
--- /dev/null
+++ b/data/etc/android.hardware.sensor.stepcounter.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2013 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 hardware step counter. -->
+<permissions>
+ <feature name="android.hardware.sensor.stepcounter" />
+</permissions>
diff --git a/data/etc/android.hardware.sensor.stepdetector.xml b/data/etc/android.hardware.sensor.stepdetector.xml
new file mode 100644
index 0000000..7037b9a
--- /dev/null
+++ b/data/etc/android.hardware.sensor.stepdetector.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2013 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 step detector. -->
+<permissions>
+ <feature name="android.hardware.sensor.stepdetector" />
+</permissions>