summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorLuis Vidal <lvidal@cyngn.com>2016-03-21 10:18:29 -0700
committerLuis Vidal <lvidal@cyngn.com>2016-03-31 17:42:56 -0700
commit6d61d301e54ff0270ca211e8c9a2f297d0f0831c (patch)
tree6111070627b1d70ac8591c3330538ed087d2533b /config
parent0ce9abc69d20272a8abe55d01a1e951234cec04f (diff)
downloadvendor_replicant-6d61d301e54ff0270ca211e8c9a2f297d0f0831c.zip
vendor_replicant-6d61d301e54ff0270ca211e8c9a2f297d0f0831c.tar.gz
vendor_replicant-6d61d301e54ff0270ca211e8c9a2f297d0f0831c.tar.bz2
Add Weather Content Provider [3/5]
Introduce the weather system feature, which will be used to identify if the Weather Content Provider/Weather services are available in the device. Add SELinux entries for the cmweather service Change-Id: Ibe862903095276f87f23c0d7dae54733eeeb5638
Diffstat (limited to 'config')
-rw-r--r--config/cmsdk_common.mk3
-rw-r--r--config/common.mk3
-rw-r--r--config/permissions/org.cyanogenmod.weather.xml19
3 files changed, 23 insertions, 2 deletions
diff --git a/config/cmsdk_common.mk b/config/cmsdk_common.mk
index 245c372..d8d7c98 100644
--- a/config/cmsdk_common.mk
+++ b/config/cmsdk_common.mk
@@ -7,7 +7,8 @@ PRODUCT_COPY_FILES += \
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.performance.xml:system/etc/permissions/org.cyanogenmod.performance.xml \
- vendor/cm/config/permissions/org.cyanogenmod.partner.xml:system/etc/permissions/org.cyanogenmod.partner.xml
+ vendor/cm/config/permissions/org.cyanogenmod.partner.xml:system/etc/permissions/org.cyanogenmod.partner.xml \
+ vendor/cm/config/permissions/org.cyanogenmod.weather.xml:system/etc/permissions/org.cyanogenmod.weather.xml
# CM Platform Library
PRODUCT_PACKAGES += \
diff --git a/config/common.mk b/config/common.mk
index 0a062f1..1963d4e 100644
--- a/config/common.mk
+++ b/config/common.mk
@@ -155,7 +155,8 @@ PRODUCT_PACKAGES += \
CyanogenSetupWizard \
CMSettingsProvider \
ExactCalculator \
- LiveLockScreenService
+ LiveLockScreenService \
+ WeatherProvider
# Exchange support
PRODUCT_PACKAGES += \
diff --git a/config/permissions/org.cyanogenmod.weather.xml b/config/permissions/org.cyanogenmod.weather.xml
new file mode 100644
index 0000000..69cd0b7
--- /dev/null
+++ b/config/permissions/org.cyanogenmod.weather.xml
@@ -0,0 +1,19 @@
+<?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>
+ <feature name="org.cyanogenmod.weather" />
+</permissions>