aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreyosen <abittin@gmail.com>2015-01-14 13:35:39 +0200
committereyosen <abittin@gmail.com>2015-01-14 14:17:21 +0200
commit94e0302b58949cd13195d8f961179afbeb9771bf (patch)
tree08617bee99ea78021895656984e5f43967a6c2c9
parentef7e199814220eb286a928705fe6e3b6f0b7e373 (diff)
endeavoru: Enable Ambient Display
Signed-off-by: eyosen <abittin@gmail.com> Change-Id: I31e35a3392061010fb1fefbe3de3e1b60b3122b1
-rw-r--r--overlay/frameworks/base/core/res/res/values/config.xml11
-rw-r--r--overlay/frameworks/base/core/res/res/values/strings.xml25
-rw-r--r--overlay/frameworks/base/packages/SystemUI/res/values/config.xml6
3 files changed, 42 insertions, 0 deletions
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
index 488cc29..e8381e5 100644
--- a/overlay/frameworks/base/core/res/res/values/config.xml
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -256,4 +256,15 @@
<bool name="config_enableMultiUserUI">true</bool>
<!-- Maximum number of supported users -->
<integer name="config_multiuserMaximumUsers">3</integer>
+
+ <!-- DOZE Overlays -->
+
+ <!-- Screen brightness when dozing -->
+ <integer name="config_screenBrightnessDoze">35</integer>
+
+ <!-- Dream of notifications -->
+ <string name="config_dozeComponent">com.android.systemui/com.android.systemui.doze.DozeService</string>
+
+ <bool name="config_dreamsSupported">false</bool>
+ <bool name="config_dozeAfterScreenOff">true</bool>
</resources>
diff --git a/overlay/frameworks/base/core/res/res/values/strings.xml b/overlay/frameworks/base/core/res/res/values/strings.xml
new file mode 100644
index 0000000..4855bb0
--- /dev/null
+++ b/overlay/frameworks/base/core/res/res/values/strings.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+** Copyright 2014, 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 xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+
+ <!-- [CHAR_LIMIT=NONE] Battery saver: Feature description -->
+ <string name="battery_saver_description">To help improve battery life, battery saver reduces your device’s performance and limits vibration, ambient display, and most background data. Email, messaging, and other apps that rely on syncing may not update unless you open them.\n\nBattery saver turns off automatically when your device is charging.</string>
+
+</resources>
diff --git a/overlay/frameworks/base/packages/SystemUI/res/values/config.xml b/overlay/frameworks/base/packages/SystemUI/res/values/config.xml
index a5d9d44..a70d61e 100644
--- a/overlay/frameworks/base/packages/SystemUI/res/values/config.xml
+++ b/overlay/frameworks/base/packages/SystemUI/res/values/config.xml
@@ -29,4 +29,10 @@
<!-- Use hardware layers in recents -->
<bool name="config_recents_use_hardware_layers">true</bool>
+
+ <!-- Doze: does this device support STATE_DOZE and STATE_DOZE_SUSPEND? -->
+ <bool name="doze_display_state_supported">true</bool>
+
+ <!-- Doze: should the pickup sensor be used as a pulse signal? -->
+ <bool name="doze_pulse_on_pick_up">false</bool>
</resources>