mirror of
https://github.com/Anything-at-25-00/android_device_tecno_LG8n.git
synced 2024-11-21 13:26:26 -08:00
LG8n: overlay: Configure AOD
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
This commit is contained in:
parent
20098267bd
commit
dd9bddb756
|
@ -161,4 +161,29 @@
|
||||||
<item>1050</item> <!-- sensorLocationY -->
|
<item>1050</item> <!-- sensorLocationY -->
|
||||||
<item>210</item> <!-- sensorRadius -->
|
<item>210</item> <!-- sensorRadius -->
|
||||||
</array>
|
</array>
|
||||||
|
|
||||||
|
<!-- ComponentName of a dream to show whenever the system would otherwise have
|
||||||
|
gone to sleep. When the PowerManager is asked to go to sleep, it will instead
|
||||||
|
try to start this dream if possible. The dream should typically call startDozing()
|
||||||
|
to put the display into a low power state and allow the application processor
|
||||||
|
to be suspended. When the dream ends, the system will go to sleep as usual.
|
||||||
|
Specify the component name or an empty string if none.
|
||||||
|
|
||||||
|
Note that doze dreams are not subject to the same start conditions as ordinary dreams.
|
||||||
|
Doze dreams will run whenever the power manager is in a dozing state. -->
|
||||||
|
<string name="config_dozeComponent">com.android.systemui/com.android.systemui.doze.DozeService</string>
|
||||||
|
|
||||||
|
<!-- If true, the doze component is not started until after the screen has been
|
||||||
|
turned off and the screen off animation has been performed. -->
|
||||||
|
<bool name="config_dozeAfterScreenOffByDefault">true</bool>
|
||||||
|
|
||||||
|
<!-- Whether the always on display mode is available. -->
|
||||||
|
<bool name="config_dozeAlwaysOnDisplayAvailable">true</bool>
|
||||||
|
|
||||||
|
<!-- Control whether the always on display mode is enabled by default. This value will be used
|
||||||
|
during initialization when the setting is still null. -->
|
||||||
|
<bool name="config_dozeAlwaysOnEnabled">false</bool>
|
||||||
|
<!-- Doze Configs -->
|
||||||
|
<integer name="config_screenBrightnessDoze">5</integer>
|
||||||
|
<bool name="config_dozeAfterScreenOff">true</bool>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
24
overlay/SystemUIOverlayLG8n/res/values/config.xml
Normal file
24
overlay/SystemUIOverlayLG8n/res/values/config.xml
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
<?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.
|
||||||
|
*/
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- These resources are around just to allow their values to be customized
|
||||||
|
for different hardware and product builds. -->
|
||||||
|
<resources>
|
||||||
|
<bool name="config_dozeAlwaysOnDisplayAvailable">true</bool>
|
||||||
|
</resources>
|
Loading…
Reference in a new issue