From da838ba05e157de6f7513c491eebc9d407b81a39 Mon Sep 17 00:00:00 2001 From: Naseer Ahmed Date: Wed, 24 Sep 2014 20:42:12 -0400 Subject: [PATCH] common: Enable doze mode Configure the system server and system UI to allow the device to go into doze mode Change-Id: I4f0e060c7d1ed1e34c01ab7731ad3dd7cdd775c2 --- .../base/core/res/res/values/config.xml | 6 ++++ .../packages/SystemUI/res/values/config.xml | 35 +++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 product/overlay/frameworks/base/packages/SystemUI/res/values/config.xml diff --git a/product/overlay/frameworks/base/core/res/res/values/config.xml b/product/overlay/frameworks/base/core/res/res/values/config.xml index 947b4ddad..743fd5bdd 100644 --- a/product/overlay/frameworks/base/core/res/res/values/config.xml +++ b/product/overlay/frameworks/base/core/res/res/values/config.xml @@ -38,5 +38,11 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. com.qualcomm.location com.qualcomm.location true + + com.android.systemui/com.android.systemui.doze.DozeService + true + + 17 + true diff --git a/product/overlay/frameworks/base/packages/SystemUI/res/values/config.xml b/product/overlay/frameworks/base/packages/SystemUI/res/values/config.xml new file mode 100644 index 000000000..53f00d472 --- /dev/null +++ b/product/overlay/frameworks/base/packages/SystemUI/res/values/config.xml @@ -0,0 +1,35 @@ + + + + + true +