sdm845-common: overlays: Update doze options

DT2W should probably check proximity sensor first to avoid
spurious pocket battery drain.
This commit is contained in:
Terminator-J
2024-07-06 18:23:14 -07:00
committed by Le Hong Duc
parent 68462ab38d
commit c1581ea136

View File

@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2018-2022 The LineageOS Project
Copyright (C) 2024 crDroid Android 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 the double tap sensor need a proximity check? -->
<bool name="doze_double_tap_proximity_check">true</bool>
</resources>