aboutsummaryrefslogtreecommitdiff
path: root/overlay/frameworks
diff options
context:
space:
mode:
authorErik Müller <erik.lars.mueller@googlemail.com>2017-06-19 21:16:47 +0100
committerRamii Ahmed <ramy@ahmedramy.com>2022-05-23 17:19:29 +0000
commitc7372c01ed29f94826454fd4291906306eed2fd7 (patch)
tree8a5cf40f129b2344a2de508c3dd01e0c0f7a059f /overlay/frameworks
parent7e293015f40ddde5d194825f0c9cf66a620b50fa (diff)
veux: overlay: Disable proximity sensor check before pulsing
* The device's ultrasound proximity sensor is not active during standby, thus it can't be used as a check before pulsing. This fixes Ambient Display. Change-Id: I1fc416247ed13cbfba245f37a4aafeae74ddbff7
Diffstat (limited to 'overlay/frameworks')
-rw-r--r--overlay/frameworks/base/packages/SystemUI/res/values/config.xml25
1 files changed, 25 insertions, 0 deletions
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..08814de
--- /dev/null
+++ b/overlay/frameworks/base/packages/SystemUI/res/values/config.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/*
+** Copyright 2017, 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>
+
+ <!-- Doze: check proximity sensor before pulsing? -->
+ <bool name="doze_proximity_check_before_pulse">false</bool>
+
+</resources>