1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2014 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<!-- Telecomm resources that may need to be customized for different hardware or product
18    builds. -->
19<resources>
20    <!-- Determines if the current device should allow emergency numbers to be logged in the
21         call log. Some carriers require that emergency calls *not* be logged, presumably to
22         avoid the risk of accidental redialing from the call log UI.
23         The default is false. -->
24    <bool name="allow_emergency_numbers_in_call_log">false</bool>
25
26    <!-- Determine whether we want to play local DTMF tones in a call, or just let the radio/BP
27         handle playing of the tones. -->
28    <bool name="allow_local_dtmf_tones">true</bool>
29
30    <!-- Class name for the default in-call UI Service [DO NOT TRANSLATE] -->
31    <string name="incall_default_class" translatable="false">com.android.incallui.InCallServiceImpl</string>
32
33    <!-- Class name for the default main dialer activity [DO NOT TRANSLATE] -->
34    <string name="dialer_default_class" translatable="false">com.android.dialer.DialtactsActivity</string>
35
36    <!-- Flag indicating if the tty is enabled -->
37    <bool name="tty_enabled">true</bool>
38
39    <!-- Flag indicating whether audio should be routed to speaker when docked -->
40    <bool name="use_speaker_when_docked">true</bool>
41
42    <!-- Flag indicating whether allow (silence rather than reject) the incoming call if it has a
43         different source (connection service) from the existing ringing call when reaching
44         maximum ringing calls. -->
45    <bool name="silence_incoming_when_different_service_and_maximum_ringing">false</bool>
46
47    <!-- Determines if the granting of temporary location permission to the default dialer
48         during an emergency call should be allowed. -->
49    <bool name="grant_location_permission_enabled">false</bool>
50
51    <!-- When true, a simple full intensity on/off vibration pattern will be used when calls ring.
52         When false, a fancy vibration pattern which ramps up and down will be used.
53         Devices should overlay this value based on the type of vibration hardware they employ. -->
54    <bool name="use_simple_vibration_pattern">false</bool>
55
56    <!-- Threshold for the X+Y component of gravity needed for the device orientation to be
57         classified as being on a user's ear. -->
58    <item name="device_on_ear_xy_gravity_threshold" format="float" type="dimen">5.5</item>
59
60    <!-- Lower threshold for the Y-component of gravity needed for the device orientation to be
61         classified as being on a user's ear. If the Y-component is less than this negative value,
62         the device is probably upside-down and therefore not on a ear -->
63    <item name="device_on_ear_y_gravity_negative_threshold" format="float" type="dimen">-1</item>
64
65    <!-- When true, an option is shown in the call blocking screen which allows the user to block
66         all incoming calls from callers not in their contacts. -->
67    <bool name="show_option_to_block_callers_not_in_contacts">false</bool>
68
69    <!-- When true, the options in the call blocking settings to block restricted and unknown
70         callers are combined into a single toggle. -->
71    <bool name="combine_options_to_block_restricted_and_unknown_callers">true</bool>
72</resources>
73