diff options
| author | Michael Bestas <mikeioannina@gmail.com> | 2015-07-01 21:07:21 +0300 |
|---|---|---|
| committer | Michael Bestas <mikeioannina@gmail.com> | 2015-07-01 21:07:21 +0300 |
| commit | 617f4ce9f32a070cee209392b916d14c4dc2eaf7 (patch) | |
| tree | 6c42d9cde18db8eff32ba01c33a34b268b6a17a1 | |
| parent | 9ed5d2b3406541808542a6b56029f3f45081933e (diff) | |
find7: Enable Ambient display
Change-Id: I61c4a3899a07f44494896efb80fb76b20728ac63
| -rw-r--r-- | overlay/frameworks/base/core/res/res/values/config.xml | 26 | ||||
| -rw-r--r-- | overlay/frameworks/base/packages/SystemUI/res/values/config.xml | 24 |
2 files changed, 50 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 new file mode 100644 index 0000000..88e3132 --- /dev/null +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** Copyright 2013, 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"> + <!-- Doze mode --> + <string name="config_dozeComponent">com.android.systemui/com.android.systemui.doze.DozeService</string> + <integer name="config_screenBrightnessDoze">5</integer> + <bool name="config_dozeAfterScreenOff">true</bool> + <bool name="config_powerDecoupleInteractiveModeFromDisplay">true</bool> +</resources> diff --git a/overlay/frameworks/base/packages/SystemUI/res/values/config.xml b/overlay/frameworks/base/packages/SystemUI/res/values/config.xml new file mode 100644 index 0000000..0bace9b --- /dev/null +++ b/overlay/frameworks/base/packages/SystemUI/res/values/config.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** Copyright 2014, 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> + <!-- Doze: does this device support STATE_DOZE and STATE_DOZE_SUSPEND? --> + <bool name="doze_display_state_supported">true</bool> + <bool name="doze_pulse_on_pick_up">true</bool> +</resources> |
