summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorSteve Kondik <steve@cyngn.com>2016-04-23 00:54:50 -0700
committerSteve Kondik <steve@cyngn.com>2016-04-26 16:41:19 -0700
commit3fe3faafd07f0b4476adad15474c02bda2080ef6 (patch)
tree496598ee540f5c62ffb566dfaa419b7457099c8b /config
parentffd6637365979700194d4e9fbf147e87bb2a894e (diff)
downloadvendor_replicant-3fe3faafd07f0b4476adad15474c02bda2080ef6.zip
vendor_replicant-3fe3faafd07f0b4476adad15474c02bda2080ef6.tar.gz
vendor_replicant-3fe3faafd07f0b4476adad15474c02bda2080ef6.tar.bz2
cm: Add CMAudioService the platform
* Also brings JNI to CMSDK Change-Id: I599964a1f9200a8d2ecdad0bb8c4d8593e6d7415
Diffstat (limited to 'config')
-rw-r--r--config/cmsdk_common.mk5
-rw-r--r--config/permissions/org.cyanogenmod.audio.xml23
2 files changed, 28 insertions, 0 deletions
diff --git a/config/cmsdk_common.mk b/config/cmsdk_common.mk
index b1fa533..7856371 100644
--- a/config/cmsdk_common.mk
+++ b/config/cmsdk_common.mk
@@ -1,6 +1,7 @@
# Permissions for cmsdk services
PRODUCT_COPY_FILES += \
vendor/cm/config/permissions/org.cyanogenmod.appsuggest.xml:system/etc/permissions/org.cyanogenmod.appsuggest.xml \
+ vendor/cm/config/permissions/org.cyanogenmod.audio.xml:system/etc/permissions/org.cyanogenmod.audio.xml \
vendor/cm/config/permissions/org.cyanogenmod.livedisplay.xml:system/etc/permissions/org.cyanogenmod.livedisplay.xml \
vendor/cm/config/permissions/org.cyanogenmod.livelockscreen.xml:system/etc/permissions/org.cyanogenmod.livelockscreen.xml \
vendor/cm/config/permissions/org.cyanogenmod.partner.xml:system/etc/permissions/org.cyanogenmod.partner.xml \
@@ -22,6 +23,10 @@ PRODUCT_PACKAGES += \
org.cyanogenmod.hardware \
org.cyanogenmod.hardware.xml
+# JNI Libraries
+PRODUCT_PACKAGES += \
+ libcmsdk_platform_jni
+
ifndef CM_PLATFORM_SDK_VERSION
# This is the canonical definition of the SDK version, which defines
# the set of APIs and functionality available in the platform. It
diff --git a/config/permissions/org.cyanogenmod.audio.xml b/config/permissions/org.cyanogenmod.audio.xml
new file mode 100644
index 0000000..1a5d122
--- /dev/null
+++ b/config/permissions/org.cyanogenmod.audio.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.audio" />
+</permissions>