summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorAdnan Begovic <adnan@cyngn.com>2016-03-15 14:20:37 -0700
committerAdnan Begovic <adnan@cyngn.com>2016-03-24 16:51:51 -0700
commit14768c4f5a70b2261e5b2c405ed791126c3d2e8d (patch)
treea88c1d8346f7a439f401986ebb53432b96d5f2a6 /config
parentb7c8dec762fa745dd1c06d2a8a007cfec31128b2 (diff)
downloadvendor_replicant-14768c4f5a70b2261e5b2c405ed791126c3d2e8d.zip
vendor_replicant-14768c4f5a70b2261e5b2c405ed791126c3d2e8d.tar.gz
vendor_replicant-14768c4f5a70b2261e5b2c405ed791126c3d2e8d.tar.bz2
cm: Introduce statusbar feature xml.
TICKET: CYNGNOS-2289 Change-Id: I1906717f69c5123d2d3f12e860e729810073a01e
Diffstat (limited to 'config')
-rw-r--r--config/cmsdk_common.mk3
-rw-r--r--config/permissions/org.cyanogenmod.statusbar.xml23
2 files changed, 25 insertions, 1 deletions
diff --git a/config/cmsdk_common.mk b/config/cmsdk_common.mk
index 4aad982..c20e8d1 100644
--- a/config/cmsdk_common.mk
+++ b/config/cmsdk_common.mk
@@ -1,7 +1,8 @@
# Permissions for cmsdk services
PRODUCT_COPY_FILES += \
vendor/cm/config/permissions/org.cyanogenmod.theme.xml:system/etc/permissions/org.cyanogenmod.theme.xml \
- vendor/cm/config/permissions/org.cyanogenmod.livelockscreen.xml:system/etc/permissions/org.cyanogenmod.livelockscreen.xml
+ 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
# CM Platform Library
PRODUCT_PACKAGES += \
diff --git a/config/permissions/org.cyanogenmod.statusbar.xml b/config/permissions/org.cyanogenmod.statusbar.xml
new file mode 100644
index 0000000..562bf9e
--- /dev/null
+++ b/config/permissions/org.cyanogenmod.statusbar.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 CMStatusBarManagerService 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.statusbar" />
+</permissions>