1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2019 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16
17<resources>
18    <!-- Package names of additional cell broadcast receivers -->
19    <string-array name="additional_cell_broadcast_receiver_packages" translatable="false">
20    </string-array>
21
22    <!-- Package names of the test cell broadcast receivers, only used on debug builds -->
23    <string-array name="test_cell_broadcast_receiver_packages" translatable="false">
24    </string-array>
25
26    <!-- If this value is true, SMS encoded as octet is decoded by utf8 decoder.
27      If false, decoded by Latin decoder. -->
28    <bool name="config_sms_utf8_support">false</bool>
29
30    <!-- The message expiration time in milliseconds for duplicate detection -->
31    <integer name="message_expiration_time">86400000</integer>
32
33    <!-- Whether to compare message body when deduping messages -->
34    <bool name="duplicate_compare_body">false</bool>
35
36    <!-- Whether to compare message service category when deduping messages -->
37    <bool name="duplicate_compare_service_category">true</bool>
38
39    <!-- Whether to enable cross SIM message duplicate detection or not. If enabled, messages
40         with the same content from different SIM will be treated as duplicates. If disbled,
41         multiple identical messages will be displayed on multi-SIM devices -->
42    <bool name="cross_sim_duplicate_detection">true</bool>
43
44    <!-- Whether to reset alert message duplicate detection and geo-fencing check after
45    reboot or toggling airplane mode -->
46    <bool name="reset_on_power_cycle_or_airplane_mode">false</bool>
47
48    <!-- Cell broadcast channels for area info update. Note the channel configuration for area info
49         is needed in CellBroadcastReceiver as well.  -->
50    <integer-array name="area_info_channels">
51    </integer-array>
52
53    <!-- Package names of the area info receivers -->
54    <string-array name="config_area_info_receiver_packages" translatable="false">
55        <item>com.android.settings</item>
56    </string-array>
57
58    <!-- The maximum waiting time in seconds for location to perform
59         device based geo-fencing -->
60    <integer name="max_location_waiting_time">30</integer>
61
62    <!-- A toggle that controls whether or not to use the new geo fence calculation. -->
63    <bool name="use_new_geo_fence_calculation">false</bool>
64
65    <!-- The threshold in which a UE can be outside of the geofence and still
66      receive a Cell Broadcast message. The value given is in meters.
67      Default is according to FCC spec of .1 miles which is ~160 meters.
68       -->
69    <integer name="geo_fence_threshold">160</integer>
70
71    <!-- Whether or not to reset Area Info Updates available with
72      DefaultCellBroadcastService#getCellBroadcastAreaInfo(slot) when device goes OOS on a slot-->
73    <bool name="reset_area_info_on_oos">false</bool>
74</resources>
75