1<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
4** Copyright 2024, The Android Open Source Project
5**
6** Licensed under the Apache License, Version 2.0 (the "License");
7** you may not use this file except in compliance with the License.
8** You may obtain a copy of the License at
9**
10**     http://www.apache.org/licenses/LICENSE-2.0
11**
12** Unless required by applicable law or agreed to in writing, software
13** distributed under the License is distributed on an "AS IS" BASIS,
14** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15** See the License for the specific language governing permissions and
16** limitations under the License.
17*/
18-->
19
20<!-- These resources are around just to allow their values to be customized
21     for different hardware and product builds.  Do not translate.
22
23     NOTE: The naming convention is "config_camelCaseValue". Some legacy
24     entries do not follow the convention, but all new entries should. -->
25
26<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
27    <!-- The start (inclusive) and end (exclusive) hours for unattended reboot window.
28         To enforce the reboot window constraint, the values should be in [0, 23], and they should
29         not be equal to each other. Otherwise, a default window will be used.
30         If the start hour is bigger than the end hour, it will be treated as if the end hour is on
31         the next day. E.g. if start==22 and end==1, the reboot window will be from 10pm to 1am.
32         To remove reboot window constraints, set both `config_unattendedRebootStartHour`
33         and `config_unattendedRebootEndHour` to -1.-->
34    <integer name="config_unattendedRebootStartHour">3</integer>
35    <integer name="config_unattendedRebootEndHour">5</integer>
36
37    <!-- The unattended reboot frequency in days. Should be a positive value.
38         If a non-positive value is provided, the default frqeuency will be applied. -->
39    <integer name="config_unattendedRebootFrequencyDays">2</integer>
40
41    <!-- Whether or not the device needs to be charging to trigger unattended reboot.-->
42    <bool name="config_requireChargingForUnattendedReboot">false</bool>
43</resources>