aboutsummaryrefslogtreecommitdiff
path: root/overlay-lineage
diff options
context:
space:
mode:
authorRashed Abdel-Tawab <rashed@linux.com>2017-08-22 14:01:07 -0700
committerdd3boh <dade.garberi@gmail.com>2017-09-07 13:41:55 +0200
commite1dc735eb17ae039570f86e3f1e84ceb84f3e070 (patch)
treecb79087ca308fbd0ff4acdfc253839ca0fa0f322 /overlay-lineage
parent51fac3d46c0bba7a64f85bc9b202dcf4acb33198 (diff)
z2_plus: Move Lineage specific overlays to overlay-lineage
Change-Id: Ic38bb1acb4d37f90b62679e4420815f49b30fc7f
Diffstat (limited to 'overlay-lineage')
-rw-r--r--overlay-lineage/frameworks/base/core/res/res/values/config.xml41
-rw-r--r--overlay-lineage/packages/apps/CellBroadcastReceiver/res/values/config.xml20
-rw-r--r--overlay-lineage/vendor/cmsdk/cm/res/res/values/config.xml37
3 files changed, 98 insertions, 0 deletions
diff --git a/overlay-lineage/frameworks/base/core/res/res/values/config.xml b/overlay-lineage/frameworks/base/core/res/res/values/config.xml
new file mode 100644
index 0000000..79019d1
--- /dev/null
+++ b/overlay-lineage/frameworks/base/core/res/res/values/config.xml
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2009 The Android Open Source 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.
+-->
+
+<!-- These resources are around just to allow their values to be customized
+ for different hardware and product builds. Do not translate. -->
+<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <!-- Is the notification LED intrusive? Used to decide if there should be a disable option -->
+ <bool name="config_intrusiveNotificationLed">true</bool>
+
+ <!-- Is the battery LED intrusive? Used to decide if there should be a disable option -->
+ <bool name="config_intrusiveBatteryLed">true</bool>
+
+ <!-- Control the behavior when the user long presses the app switch button.
+ 0 - Nothing
+ 1 - Menu key
+ 2 - Recent apps view in SystemUI
+ 3 - Launch assist intent
+ 4 - Voice Search
+ 5 - In-app Search
+ This needs to match the constants in
+ policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
+ -->
+ <integer name="config_longPressOnAppSwitchBehavior">1</integer>
+
+ <!-- Support in Surfaceflinger for blur layers.
+ NOTE: This requires additional hardware-specific code. -->
+ <bool name="config_uiBlurEnabled">true</bool>
+</resources>
diff --git a/overlay-lineage/packages/apps/CellBroadcastReceiver/res/values/config.xml b/overlay-lineage/packages/apps/CellBroadcastReceiver/res/values/config.xml
new file mode 100644
index 0000000..2947af2
--- /dev/null
+++ b/overlay-lineage/packages/apps/CellBroadcastReceiver/res/values/config.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2011 The Android Open Source 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>
+ <!-- Whether to enable channel 50 and 60 settings (India) -->
+ <bool name="show_india_settings">true</bool>
+</resources>
diff --git a/overlay-lineage/vendor/cmsdk/cm/res/res/values/config.xml b/overlay-lineage/vendor/cmsdk/cm/res/res/values/config.xml
new file mode 100644
index 0000000..a63534e
--- /dev/null
+++ b/overlay-lineage/vendor/cmsdk/cm/res/res/values/config.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2015-2016 The CyanogenMod Project
+ 2017 The LineageOS 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>
+ <!-- Default value for proximity check on screen wake
+ NOTE ! - Enable for devices that have a fast response proximity sensor (ideally < 300ms)-->
+ <bool name="config_proximityCheckOnWake">true</bool>
+ <integer name="config_proximityCheckTimeout">200</integer>
+ <bool name="config_proximityCheckOnWakeEnabledByDefault">true</bool>
+
+ <!-- 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">43</integer>
+</resources>