summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorAdnan Begovic <adnan@cyngn.com>2016-03-24 17:35:48 -0700
committerAdnan Begovic <adnan@cyngn.com>2016-03-24 17:39:48 -0700
commit0edc6410bfd913010f6457a92c9ef9f59923b7a1 (patch)
treee4fce06324a2e3f367b3279f86a88c43f894fb9b /config
parent7ff86fa8151089952fcd1b8c4fbf5a1e8f5a8f93 (diff)
downloadvendor_replicant-0edc6410bfd913010f6457a92c9ef9f59923b7a1.zip
vendor_replicant-0edc6410bfd913010f6457a92c9ef9f59923b7a1.tar.gz
vendor_replicant-0edc6410bfd913010f6457a92c9ef9f59923b7a1.tar.bz2
cm: Introduce telephony feature xml.
Change-Id: I35e0b25a7323af12c6c87edc247a03cf9d919a0c TICKET: CYNGNOS-2291
Diffstat (limited to 'config')
-rw-r--r--config/cmsdk_common.mk3
-rw-r--r--config/permissions/org.cyanogenmod.telephony.xml23
2 files changed, 25 insertions, 1 deletions
diff --git a/config/cmsdk_common.mk b/config/cmsdk_common.mk
index 94b51ed..374d464 100644
--- a/config/cmsdk_common.mk
+++ b/config/cmsdk_common.mk
@@ -4,7 +4,8 @@ PRODUCT_COPY_FILES += \
vendor/cm/config/permissions/org.cyanogenmod.livelockscreen.xml:system/etc/permissions/org.cyanogenmod.livelockscreen.xml \
vendor/cm/config/permissions/org.cyanogenmod.statusbar.xml:system/etc/permissions/org.cyanogenmod.statusbar.xml \
vendor/cm/config/permissions/org.cyanogenmod.profiles.xml:system/etc/permissions/org.cyanogenmod.profiles.xml \
- vendor/cm/config/permissions/org.cyanogenmod.appsuggest.xml:system/etc/permissions/org.cyanogenmod.appsuggest.xml
+ vendor/cm/config/permissions/org.cyanogenmod.appsuggest.xml:system/etc/permissions/org.cyanogenmod.appsuggest.xml \
+ vendor/cm/config/permissions/org.cyanogenmod.telephony.xml:system/etc/permissions/org.cyanogenmod.telephony.xml
# CM Platform Library
PRODUCT_PACKAGES += \
diff --git a/config/permissions/org.cyanogenmod.telephony.xml b/config/permissions/org.cyanogenmod.telephony.xml
new file mode 100644
index 0000000..3e89e8a
--- /dev/null
+++ b/config/permissions/org.cyanogenmod.telephony.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2016 The CyanogenMod 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.
+-->
+
+<permissions>
+ <!-- The feature listed here coincides with the CMTelephonyManagerService declared as
+ part of the external cm service init in SystemServer. If this xml isn't present
+ on the device, the service will not be published as a binder service!
+ -->
+ <feature name="org.cyanogenmod.telephony" />
+</permissions>