summaryrefslogtreecommitdiffstats
path: root/data/etc/android.hardware.location.gps.xml
diff options
context:
space:
mode:
authorDan Morrill <morrildl@google.com>2010-03-05 16:16:19 -0800
committerDan Morrill <morrildl@google.com>2010-03-08 19:28:28 -0800
commit50ab63f5831fed5cfa888fb67f0a27eb4c0a86c4 (patch)
tree156e3ff391ff48fa39a52ee16c10fe11961d8ca7 /data/etc/android.hardware.location.gps.xml
parent8d8a915a935378405fcf9978b83bd815ac5a265c (diff)
downloadframeworks_base-50ab63f5831fed5cfa888fb67f0a27eb4c0a86c4.zip
frameworks_base-50ab63f5831fed5cfa888fb67f0a27eb4c0a86c4.tar.gz
frameworks_base-50ab63f5831fed5cfa888fb67f0a27eb4c0a86c4.tar.bz2
Adding definitions & APIs for features that are newly-optional in FroYo.
This also refactors the files containing the features so that they are more modular. Note that this also changes data/etc/Android.mk so that required_hardware.xml is NOT copied automatically for all devices anymore. Accordingly, that file is removed.
Diffstat (limited to 'data/etc/android.hardware.location.gps.xml')
-rw-r--r--data/etc/android.hardware.location.gps.xml22
1 files changed, 22 insertions, 0 deletions
diff --git a/data/etc/android.hardware.location.gps.xml b/data/etc/android.hardware.location.gps.xml
new file mode 100644
index 0000000..72ab732
--- /dev/null
+++ b/data/etc/android.hardware.location.gps.xml
@@ -0,0 +1,22 @@
+<?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.
+-->
+
+<!-- These are the location-related features for devices that include GPS. -->
+<permissions>
+ <feature name="android.hardware.location" />
+ <feature name="android.hardware.location.network" />
+ <feature name="android.hardware.location.gps" />
+</permissions>