summaryrefslogtreecommitdiffstats
path: root/data/etc
diff options
context:
space:
mode:
authorHung-ying Tyan <tyanh@google.com>2010-08-27 18:08:19 +0800
committerHung-ying Tyan <tyanh@google.com>2010-09-02 08:10:13 +0800
commit3424c02e6b931a8bbd651ae75217bebd008b2605 (patch)
treef8113a62a05f612a54da4c277661542edbcb9773 /data/etc
parenta2511da9d65b11be7f59ed3f525f77e85aeb4bef (diff)
downloadframeworks_base-3424c02e6b931a8bbd651ae75217bebd008b2605.zip
frameworks_base-3424c02e6b931a8bbd651ae75217bebd008b2605.tar.gz
frameworks_base-3424c02e6b931a8bbd651ae75217bebd008b2605.tar.bz2
Add software features for SIP and VOIP
and block SipService creation and SIP API if the feature is not available. Change-Id: Icf780af1ac20dda4d8180cea3e5b20e21a8350bc
Diffstat (limited to 'data/etc')
-rw-r--r--data/etc/android.software.sip.voip.xml21
-rw-r--r--data/etc/android.software.sip.xml20
2 files changed, 41 insertions, 0 deletions
diff --git a/data/etc/android.software.sip.voip.xml b/data/etc/android.software.sip.voip.xml
new file mode 100644
index 0000000..edd06c1
--- /dev/null
+++ b/data/etc/android.software.sip.voip.xml
@@ -0,0 +1,21 @@
+<?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.
+-->
+
+<!-- This is the standard set of features for devices that support SIP-based VoIP. -->
+<permissions>
+ <feature name="android.software.sip" />
+ <feature name="android.software.sip.voip" />
+</permissions>
diff --git a/data/etc/android.software.sip.xml b/data/etc/android.software.sip.xml
new file mode 100644
index 0000000..d9fcaad
--- /dev/null
+++ b/data/etc/android.software.sip.xml
@@ -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.
+-->
+
+<!-- This is the standard set of features for devices that support the SIP API. -->
+<permissions>
+ <feature name="android.software.sip" />
+</permissions>