* Fixes screen saver on Android TV. * IIRC this is an old hack when Android TV didn't respect stay awake option. Probably hasn't been needed in years.
52 lines
2.2 KiB
XML
52 lines
2.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright (C) 2009 The Android Open Source Project
|
|
Copyright (C) 2021-2022 KonstaKANG
|
|
|
|
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>
|
|
<!-- Default screen brightness setting.
|
|
Must be in the range specified by minimum and maximum. -->
|
|
<integer name="config_screenBrightnessSettingDefault">128</integer>
|
|
|
|
<!-- Minimum screen brightness setting allowed by the power manager.
|
|
The user is forbidden from setting the brightness below this level. -->
|
|
<integer name="config_screenBrightnessSettingMinimum">20</integer>
|
|
|
|
<!-- Screen brightness used to dim the screen when the user activity
|
|
timeout expires. May be less than the minimum allowed brightness setting
|
|
that can be set by the user. -->
|
|
<integer name="config_screenBrightnessDim">20</integer>
|
|
|
|
<!-- If true, then we do not ask user for permission for apps to connect to USB devices.
|
|
Do not set this to true for production devices. Doing so will cause you to fail CTS. -->
|
|
<bool name="config_disableUsbPermissionDialogs">true</bool>
|
|
|
|
<!-- Control the behavior when the user long presses the power button.
|
|
0 - Nothing
|
|
1 - Global actions menu
|
|
2 - Power off (with confirmation)
|
|
3 - Power off (without confirmation)
|
|
4 - Go to voice assist
|
|
5 - Go to assistant (Settings.Secure.ASSISTANT)
|
|
-->
|
|
<integer name="config_longPressOnPowerBehavior">1</integer>
|
|
|
|
<!-- CEC Configuration -->
|
|
<bool name="config_cecTvSendStandbyOnSleepEnabled_default">false</bool>
|
|
<bool name="config_cecTvSendStandbyOnSleepDisabled_default">true</bool>
|
|
|
|
</resources>
|