summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorAdnan Begovic <adnan@cyngn.com>2016-03-25 12:38:48 -0700
committerAdnan Begovic <adnan@cyngn.com>2016-03-25 12:38:48 -0700
commit37e59c1ba5fab6d6b2cc4e6047e4f937f9653732 (patch)
tree071d7300a3e2c4dd16a10821ecc5d45e9956b438 /config
parent0edc6410bfd913010f6457a92c9ef9f59923b7a1 (diff)
downloadvendor_replicant-37e59c1ba5fab6d6b2cc4e6047e4f937f9653732.zip
vendor_replicant-37e59c1ba5fab6d6b2cc4e6047e4f937f9653732.tar.gz
vendor_replicant-37e59c1ba5fab6d6b2cc4e6047e4f937f9653732.tar.bz2
cm: Introduce performance feature xml.
Change-Id: I9c8cfa27f0b8cf41ff66d81724f92bd412763a65 TICKET: CYNGNOS-2294
Diffstat (limited to 'config')
-rw-r--r--config/cmsdk_common.mk3
-rw-r--r--config/permissions/org.cyanogenmod.performance.xml23
2 files changed, 25 insertions, 1 deletions
diff --git a/config/cmsdk_common.mk b/config/cmsdk_common.mk
index 374d464..0e5bfa4 100644
--- a/config/cmsdk_common.mk
+++ b/config/cmsdk_common.mk
@@ -5,7 +5,8 @@ PRODUCT_COPY_FILES += \
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.telephony.xml:system/etc/permissions/org.cyanogenmod.telephony.xml
+ vendor/cm/config/permissions/org.cyanogenmod.telephony.xml:system/etc/permissions/org.cyanogenmod.telephony.xml \
+ vendor/cm/config/permissions/org.cyanogenmod.performance.xml:system/etc/permissions/org.cyanogenmod.performance.xml
# CM Platform Library
PRODUCT_PACKAGES += \
diff --git a/config/permissions/org.cyanogenmod.performance.xml b/config/permissions/org.cyanogenmod.performance.xml
new file mode 100644
index 0000000..464de6e
--- /dev/null
+++ b/config/permissions/org.cyanogenmod.performance.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 PerformanceManagerService 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.performance" />
+</permissions>