diff options
| author | Ilya Lebedev <ashuli2003@gmail.com> | 2016-12-16 16:11:46 +0300 |
|---|---|---|
| committer | Ilya Lebedev <ashuli2003@gmail.com> | 2016-12-19 18:41:03 +0300 |
| commit | f20f65141cb404d3fc7469d780cf18aa4b8d852d (patch) | |
| tree | d1d82bafe7b4852d24e1636bb3d3150280ac4545 | |
| parent | dde26494175a796ec6460a54df7fef7ea75a0bbd (diff) | |
peach:Switch to the unified LED capabilities overlay
Change-Id: I603abb1f1df27f585a0631fe15ef08a08cc8b24a
| -rw-r--r-- | overlay/frameworks/base/core/res/res/values/config.xml | 4 | ||||
| -rw-r--r-- | overlay/vendor/cmsdk/cm/res/config.xml | 31 |
2 files changed, 31 insertions, 4 deletions
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml index 52a1567..d4acc10 100644 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -173,10 +173,6 @@ <!-- Is the notification LED intrusive? Used to decide if there should be a disable option --> <bool name="config_intrusiveNotificationLed">true</bool> - <!-- Does the notification LED support multiple colors? - Used to decide if the user can change the colors --> - <bool name="config_multiColorNotificationLed">true</bool> - <!-- enable doze powersaving mode --> <bool name="config_enableAutoPowerModes">true</bool> <string name="config_dozeComponent">com.android.systemui/com.android.systemui.doze.DozeService</string> diff --git a/overlay/vendor/cmsdk/cm/res/config.xml b/overlay/vendor/cmsdk/cm/res/config.xml new file mode 100644 index 0000000..7150b8a --- /dev/null +++ b/overlay/vendor/cmsdk/cm/res/config.xml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2015-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. +--> +<resources> + +<!-- All the capabilities of the LEDs on this device, stored as a bit field. + This integer should equal the sum of the corresponding value for each + of the following capabilities present: + + LIGHTS_RGB_NOTIFICATION_LED = 1 + LIGHTS_RGB_BATTERY_LED = 2 + LIGHTS_MULTIPLE_NOTIFICATION_LED = 4 + LIGHTS_PULSATING_LED = 8 + LIGHTS_SEGMENTED_BATTERY_LED = 16 + LIGHTS_ADJUSTABLE_NOTIFICATION_LED_BRIGHTNESS = 32 + + For example, a device support pulsating, RGB notification and + battery LEDs would set this config to 11. --> + <integer name="config_deviceLightCapabilities" translatable="false">11</integer> + +</resources>
\ No newline at end of file |
