diff options
author | Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> | 2016-12-12 13:09:51 +0100 |
---|---|---|
committer | Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> | 2016-12-12 13:09:51 +0100 |
commit | 1bbac0dbd1b4a7e64ecd42443a4e6e9b13af1fb9 (patch) | |
tree | 07790f46da5b1716448b576ce2b6d81e7a0ddca4 /config | |
parent | 076588cc654f9dbbc6e65a291dd85e8e8c096d1e (diff) | |
parent | dee68b3f6e1d78bb8dca56ef3ce64045edce4bfd (diff) | |
download | vendor_replicant-1bbac0dbd1b4a7e64ecd42443a4e6e9b13af1fb9.zip vendor_replicant-1bbac0dbd1b4a7e64ecd42443a4e6e9b13af1fb9.tar.gz vendor_replicant-1bbac0dbd1b4a7e64ecd42443a4e6e9b13af1fb9.tar.bz2 |
Merge branch 'cm-13.0' of https://github.com/CyanogenMod/android_vendor_cm into replicant-6.0
Diffstat (limited to 'config')
22 files changed, 314 insertions, 86 deletions
diff --git a/config/BoardConfigCM.mk b/config/BoardConfigCM.mk new file mode 100644 index 0000000..a8bf1ad --- /dev/null +++ b/config/BoardConfigCM.mk @@ -0,0 +1,4 @@ +# Charger +ifneq ($(WITH_CM_CHARGER),false) + BOARD_HAL_STATIC_LIBRARIES := libhealthd.cm +endif diff --git a/config/cmsdk_common.mk b/config/cmsdk_common.mk index c50f5ae..e8b1907 100644 --- a/config/cmsdk_common.mk +++ b/config/cmsdk_common.mk @@ -1,7 +1,16 @@ # Permissions for cmsdk services PRODUCT_COPY_FILES += \ + vendor/replicant/config/permissions/org.cyanogenmod.appsuggest.xml:system/etc/permissions/org.cyanogenmod.appsuggest.xml \ + vendor/replicant/config/permissions/org.cyanogenmod.audio.xml:system/etc/permissions/org.cyanogenmod.audio.xml \ + vendor/replicant/config/permissions/org.cyanogenmod.livedisplay.xml:system/etc/permissions/org.cyanogenmod.livedisplay.xml \ + vendor/replicant/config/permissions/org.cyanogenmod.livelockscreen.xml:system/etc/permissions/org.cyanogenmod.livelockscreen.xml \ + vendor/replicant/config/permissions/org.cyanogenmod.partner.xml:system/etc/permissions/org.cyanogenmod.partner.xml \ + vendor/replicant/config/permissions/org.cyanogenmod.performance.xml:system/etc/permissions/org.cyanogenmod.performance.xml \ + vendor/replicant/config/permissions/org.cyanogenmod.profiles.xml:system/etc/permissions/org.cyanogenmod.profiles.xml \ + vendor/replicant/config/permissions/org.cyanogenmod.statusbar.xml:system/etc/permissions/org.cyanogenmod.statusbar.xml \ + vendor/replicant/config/permissions/org.cyanogenmod.telephony.xml:system/etc/permissions/org.cyanogenmod.telephony.xml \ vendor/replicant/config/permissions/org.cyanogenmod.theme.xml:system/etc/permissions/org.cyanogenmod.theme.xml \ - vendor/replicant/config/permissions/org.cyanogenmod.livelockscreen.xml:system/etc/permissions/org.cyanogenmod.livelockscreen.xml + vendor/replicant/config/permissions/org.cyanogenmod.weather.xml:system/etc/permissions/org.cyanogenmod.weather.xml # CM Platform Library PRODUCT_PACKAGES += \ @@ -14,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 @@ -21,7 +34,7 @@ ifndef CM_PLATFORM_SDK_VERSION # the SDK are released. It should only be incremented when the APIs for # the new release are frozen (so that developers don't write apps against # intermediate builds). - CM_PLATFORM_SDK_VERSION := 5 + CM_PLATFORM_SDK_VERSION := 6 endif ifndef CM_PLATFORM_REV diff --git a/config/common.mk b/config/common.mk index 3ee9b90..f2c8e76 100644 --- a/config/common.mk +++ b/config/common.mk @@ -33,14 +33,6 @@ PRODUCT_BOOTANIMATION := vendor/replicant/prebuilt/common/bootanimation/$(TARGET endif endif -ifdef CM_NIGHTLY -PRODUCT_PROPERTY_OVERRIDES += \ - ro.rommanager.developerid=cyanogenmodnightly -else -PRODUCT_PROPERTY_OVERRIDES += \ - ro.rommanager.developerid=cyanogenmod -endif - PRODUCT_BUILD_PROP_OVERRIDES += BUILD_UTC_DATE=0 ifeq ($(PRODUCT_GMS_CLIENTID_BASE),) @@ -63,6 +55,11 @@ PRODUCT_PROPERTY_OVERRIDES += \ PRODUCT_PROPERTY_OVERRIDES += \ ro.build.selinux=1 +# Default notification/alarm sounds +PRODUCT_PROPERTY_OVERRIDES += \ + ro.config.notification_sound=Argon.ogg \ + ro.config.alarm_alert=Helium.ogg + ifneq ($(TARGET_BUILD_VARIANT),user) # Thank you, please drive thru! PRODUCT_PROPERTY_OVERRIDES += persist.sys.dun.override=0 @@ -78,13 +75,15 @@ PRODUCT_COPY_FILES += \ vendor/replicant/CHANGELOG.mkdn:system/etc/CHANGELOG-CM.txt # Backup Tool -ifneq ($(WITH_GMS),true) PRODUCT_COPY_FILES += \ vendor/replicant/prebuilt/common/bin/backuptool.sh:install/bin/backuptool.sh \ vendor/replicant/prebuilt/common/bin/backuptool.functions:install/bin/backuptool.functions \ vendor/replicant/prebuilt/common/bin/50-cm.sh:system/addon.d/50-cm.sh \ vendor/replicant/prebuilt/common/bin/blacklist:system/addon.d/blacklist -endif + +# Backup Services whitelist +PRODUCT_COPY_FILES += \ + vendor/cm/config/permissions/backup.xml:system/etc/sysconfig/backup.xml # Signature compatibility validation PRODUCT_COPY_FILES += \ @@ -125,6 +124,9 @@ PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \ vendor/replicant/config/permissions/com.cyanogenmod.android.xml:system/etc/permissions/com.cyanogenmod.android.xml +# Include CM audio files +include vendor/cm/config/cm_audio.mk + # Theme engine include vendor/replicant/config/themes_common.mk @@ -133,14 +135,18 @@ include vendor/replicant/config/cmsdk_common.mk # Required CM packages PRODUCT_PACKAGES += \ + CMAudioService \ Development \ BluetoothExt \ - Profiles + Profiles \ + ThemeManagerService \ + WeatherManagerService # Optional CM packages PRODUCT_PACKAGES += \ libemoji \ - Terminal + Terminal \ + LiveWallpapersPicker # Include librsjni explicitly to workaround GMS issue PRODUCT_PACKAGES += \ @@ -156,7 +162,13 @@ PRODUCT_PACKAGES += \ Eleven \ LockClock \ CMSettingsProvider \ - ExactCalculator + ExactCalculator \ + LiveLockScreenService \ + WeatherProvider \ + DataUsageProvider \ + WallpaperPicker \ + SoundRecorder \ + Screencast # Exchange support PRODUCT_PACKAGES += \ @@ -177,8 +189,29 @@ PRODUCT_PACKAGES += \ oprofiled \ sqlite3 \ strace \ - pigz + pigz \ + 7z \ + lib7z \ + bash \ + bzip2 \ + curl \ + powertop \ + unrar \ + unzip \ + vim \ + wget \ + zip + +# Custom off-mode charger +ifneq ($(WITH_CM_CHARGER),false) +PRODUCT_PACKAGES += \ + charger_res_images \ + cm_charger_res_images \ + font_log.png \ + libhealthd.cm +endif +# ExFAT support WITH_EXFAT ?= true ifeq ($(WITH_EXFAT),true) TARGET_USES_EXFAT := true @@ -266,8 +299,12 @@ ifneq ($(PRODUCT_DEFAULT_DEV_CERTIFICATE),build/target/product/security/testkey) else TARGET_VENDOR_RELEASE_BUILD_ID := $(TARGET_VENDOR_RELEASE_BUILD_ID) endif - CM_DISPLAY_VERSION=$(PRODUCT_VERSION_MAJOR).$(PRODUCT_VERSION_MINOR)-$(TARGET_VENDOR_RELEASE_BUILD_ID) - endif + ifeq ($(CM_VERSION_MAINTENANCE),0) + CM_DISPLAY_VERSION := $(PRODUCT_VERSION_MAJOR).$(PRODUCT_VERSION_MINOR)-$(TARGET_VENDOR_RELEASE_BUILD_ID)-$(CM_BUILD) + else + CM_DISPLAY_VERSION := $(PRODUCT_VERSION_MAJOR).$(PRODUCT_VERSION_MINOR).$(CM_VERSION_MAINTENANCE)-$(TARGET_VENDOR_RELEASE_BUILD_ID)-$(CM_BUILD) + endif +endif endif endif diff --git a/config/common_full.mk b/config/common_full.mk index 59e034d..1e07256 100644 --- a/config/common_full.mk +++ b/config/common_full.mk @@ -1,15 +1,13 @@ # Inherit common CM stuff $(call inherit-product, vendor/replicant/config/common.mk) -# Include CM audio files -include vendor/replicant/config/cm_audio.mk +PRODUCT_SIZE := full ifeq ($(USE_OPENGL_RENDERER),true) PRODUCT_PACKAGES += \ Galaxy4 \ HoloSpiralWallpaper \ LiveWallpapers \ - LiveWallpapersPicker \ MagicSmokeWallpapers endif @@ -17,20 +15,8 @@ PRODUCT_PACKAGES += \ NoiseField \ PhaseBeam \ PhotoTable \ - SoundRecorder \ - PhotoPhase \ - Screencast + PhotoPhase -# Extra tools in CM +# Themes PRODUCT_PACKAGES += \ - 7z \ - lib7z \ - bash \ - bzip2 \ - curl \ - powertop \ - unrar \ - unzip \ - vim \ - wget \ - zip + HexoLibre diff --git a/config/common_full_phone.mk b/config/common_full_phone.mk index 7c19dda..222e944 100644 --- a/config/common_full_phone.mk +++ b/config/common_full_phone.mk @@ -8,11 +8,6 @@ PRODUCT_PACKAGES += \ # Include CM LatinIME dictionaries PRODUCT_PACKAGE_OVERLAYS += vendor/replicant/overlay/dictionaries -# Default notification/alarm sounds -PRODUCT_PROPERTY_OVERRIDES += \ - ro.config.notification_sound=Argon.ogg \ - ro.config.alarm_alert=Helium.ogg - ifeq ($(TARGET_SCREEN_WIDTH) $(TARGET_SCREEN_HEIGHT),$(space)) PRODUCT_COPY_FILES += \ vendor/replicant/prebuilt/common/bootanimation/vertical-480x800.zip:system/media/bootanimation.zip diff --git a/config/common_full_tablet_wifionly.mk b/config/common_full_tablet_wifionly.mk index fc1cf9c..5bcbcf1 100644 --- a/config/common_full_tablet_wifionly.mk +++ b/config/common_full_tablet_wifionly.mk @@ -8,12 +8,7 @@ PRODUCT_PACKAGES += \ # Include CM LatinIME dictionaries PRODUCT_PACKAGE_OVERLAYS += vendor/cm/overlay/dictionaries -# Default notification/alarm sounds -PRODUCT_PROPERTY_OVERRIDES += \ - ro.config.notification_sound=Argon.ogg \ - ro.config.alarm_alert=Helium.ogg - -ifeq ($(TARGET_BOOTANIMATION_NAME),) +ifeq ($(TARGET_SCREEN_WIDTH) $(TARGET_SCREEN_HEIGHT),$(space)) PRODUCT_COPY_FILES += \ vendor/replicant/prebuilt/common/bootanimation/horizontal-1280x800.zip:system/media/bootanimation.zip endif diff --git a/config/common_full_tv.mk b/config/common_full_tv.mk index f7689b7..779b918 100644 --- a/config/common_full_tv.mk +++ b/config/common_full_tv.mk @@ -1,11 +1,6 @@ # Inherit common CM stuff $(call inherit-product, vendor/cm/config/common_full.mk) -# Default notification/alarm sounds -PRODUCT_PROPERTY_OVERRIDES += \ - ro.config.notification_sound=Argon.ogg \ - ro.config.alarm_alert=Helium.ogg - ifeq ($(TARGET_SCREEN_WIDTH) $(TARGET_SCREEN_HEIGHT),$(space)) PRODUCT_COPY_FILES += \ vendor/cm/prebuilt/common/bootanimation/800.zip:system/media/bootanimation.zip diff --git a/config/common_mini.mk b/config/common_mini.mk new file mode 100644 index 0000000..ab1af91 --- /dev/null +++ b/config/common_mini.mk @@ -0,0 +1,4 @@ +# Inherit common CM stuff +$(call inherit-product, vendor/cm/config/common.mk) + +PRODUCT_SIZE := mini diff --git a/config/common_mini_phone.mk b/config/common_mini_phone.mk index d6344e2..4700b14 100644 --- a/config/common_mini_phone.mk +++ b/config/common_mini_phone.mk @@ -1,19 +1,10 @@ -# Inherit common CM stuff -$(call inherit-product, vendor/replicant/config/common.mk) - -# Include CM audio files -include vendor/replicant/config/cm_audio.mk +$(call inherit-product, vendor/replicant/config/common_mini.mk) # Required CM packages PRODUCT_PACKAGES += \ LatinIME -# Default notification/alarm sounds -PRODUCT_PROPERTY_OVERRIDES += \ - ro.config.notification_sound=Argon.ogg \ - ro.config.alarm_alert=Helium.ogg - -ifeq ($(TARGET_BOOTANIMATION_NAME),) +ifeq ($(TARGET_SCREEN_WIDTH) $(TARGET_SCREEN_HEIGHT),$(space)) PRODUCT_COPY_FILES += \ vendor/replicant/prebuilt/common/bootanimation/vertical-320x480.zip:system/media/bootanimation.zip endif diff --git a/config/common_mini_tablet_wifionly.mk b/config/common_mini_tablet_wifionly.mk index 5ebe2a5..fa00a63 100644 --- a/config/common_mini_tablet_wifionly.mk +++ b/config/common_mini_tablet_wifionly.mk @@ -1,19 +1,11 @@ # Inherit common CM stuff -$(call inherit-product, vendor/replicant/config/common.mk) - -# Include CM audio files -include vendor/replicant/config/cm_audio.mk +$(call inherit-product, vendor/replicant/config/common_mini.mk) # Required CM packages PRODUCT_PACKAGES += \ LatinIME -# Default notification/alarm sounds -PRODUCT_PROPERTY_OVERRIDES += \ - ro.config.notification_sound=Argon.ogg \ - ro.config.alarm_alert=Helium.ogg - -ifeq ($(TARGET_BOOTANIMATION_NAME),) +ifeq ($(TARGET_SCREEN_WIDTH) $(TARGET_SCREEN_HEIGHT),$(space)) PRODUCT_COPY_FILES += \ vendor/replicant/prebuilt/common/bootanimation/horizontal-1024x600.zip:system/media/bootanimation.zip endif diff --git a/config/common_mini_tv.mk b/config/common_mini_tv.mk index 57256ed..63f2bcf 100644 --- a/config/common_mini_tv.mk +++ b/config/common_mini_tv.mk @@ -1,13 +1,5 @@ # Inherit common CM stuff -$(call inherit-product, vendor/cm/config/common.mk) - -# Include CM audio files -include vendor/cm/config/cm_audio.mk - -# Default notification/alarm sounds -PRODUCT_PROPERTY_OVERRIDES += \ - ro.config.notification_sound=Argon.ogg \ - ro.config.alarm_alert=Helium.ogg +$(call inherit-product, vendor/cm/config/common_mini.mk) ifeq ($(TARGET_SCREEN_WIDTH) $(TARGET_SCREEN_HEIGHT),$(space)) PRODUCT_COPY_FILES += \ diff --git a/config/permissions/backup.xml b/config/permissions/backup.xml new file mode 100644 index 0000000..c335b29 --- /dev/null +++ b/config/permissions/backup.xml @@ -0,0 +1,25 @@ +<?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. +--> +<config> + <!-- Whitelist of what components are permitted as backup data transports. The + 'service' attribute here is a flattened ComponentName string. --> + <backup-transport-whitelisted-service + service="android/com.android.internal.backup.LocalTransportService" /> + <backup-transport-whitelisted-service + service="com.google.android.gms/.backup.BackupTransportService" /> + <backup-transport-whitelisted-service + service="com.google.android.gms/.backup.component.D2dTransportService" /> +</config>
\ No newline at end of file diff --git a/config/permissions/org.cyanogenmod.appsuggest.xml b/config/permissions/org.cyanogenmod.appsuggest.xml new file mode 100644 index 0000000..e8a9808 --- /dev/null +++ b/config/permissions/org.cyanogenmod.appsuggest.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 AppSuggestManagerService 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.appsuggest" /> +</permissions> 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> diff --git a/config/permissions/org.cyanogenmod.livedisplay.xml b/config/permissions/org.cyanogenmod.livedisplay.xml new file mode 100644 index 0000000..bfae5d3 --- /dev/null +++ b/config/permissions/org.cyanogenmod.livedisplay.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.livedisplay" /> +</permissions> diff --git a/config/permissions/org.cyanogenmod.partner.xml b/config/permissions/org.cyanogenmod.partner.xml new file mode 100644 index 0000000..1526830 --- /dev/null +++ b/config/permissions/org.cyanogenmod.partner.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 PartnerInterfaceService 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.partner" /> +</permissions> 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> diff --git a/config/permissions/org.cyanogenmod.profiles.xml b/config/permissions/org.cyanogenmod.profiles.xml new file mode 100644 index 0000000..6a45526 --- /dev/null +++ b/config/permissions/org.cyanogenmod.profiles.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 ProfileManagerService 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.profiles" /> +</permissions> 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> 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> 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> diff --git a/config/telephony.mk b/config/telephony.mk index b28e26f..39a2ff8 100644 --- a/config/telephony.mk +++ b/config/telephony.mk @@ -2,10 +2,6 @@ PRODUCT_COPY_FILES += \ vendor/replicant/prebuilt/common/etc/apns-conf.xml:system/etc/apns-conf.xml -# Selective SPN list for operator number who has the problem. -PRODUCT_COPY_FILES += \ - vendor/replicant/prebuilt/common/etc/selective-spn-conf.xml:system/etc/selective-spn-conf.xml - # Telephony packages PRODUCT_PACKAGES += \ messaging \ |