blob: b0e50b0b02d19065331491da4e505960d2fde085 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2014 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.
-->
<!-- Telecomm resources that may need to be customized for different hardware or product
builds. -->
<resources>
<!-- Determines if the current device should allow emergency numbers to be logged in the
call log. Some carriers require that emergency calls *not* be logged, presumably to
avoid the risk of accidental redialing from the call log UI.
The default is false. -->
<bool name="allow_emergency_numbers_in_call_log">false</bool>
<!-- Determine whether we want to play local DTMF tones in a call, or just let the radio/BP
handle playing of the tones. -->
<bool name="allow_local_dtmf_tones">true</bool>
<!-- Class name for the default in-call UI Service [DO NOT TRANSLATE] -->
<string name="incall_default_class" translatable="false">com.android.incallui.InCallServiceImpl</string>
<!-- Class name for the default main dialer activity [DO NOT TRANSLATE] -->
<string name="dialer_default_class" translatable="false">com.android.dialer.DialtactsActivity</string>
<!-- Flag indicating if the tty is enabled -->
<bool name="tty_enabled">true</bool>
<!-- Flag indicating whether audio should be routed to speaker when docked -->
<bool name="use_speaker_when_docked">true</bool>
<!-- Flag indicating whether allow (silence rather than reject) the incoming call if it has a
different source (connection service) from the existing ringing call when reaching
maximum ringing calls. -->
<bool name="silence_incoming_when_different_service_and_maximum_ringing">false</bool>
<!-- Determines if the granting of temporary location permission to the default dialer
during an emergency call should be allowed. -->
<bool name="grant_location_permission_enabled">false</bool>
<!-- When true, a simple full intensity on/off vibration pattern will be used when calls ring.
When false, a fancy vibration pattern which ramps up and down will be used.
Devices should overlay this value based on the type of vibration hardware they employ. -->
<bool name="use_simple_vibration_pattern">false</bool>
<!-- Threshold for the X+Y component of gravity needed for the device orientation to be
classified as being on a user's ear. -->
<item name="device_on_ear_xy_gravity_threshold" format="float" type="dimen">5.5</item>
<!-- Lower threshold for the Y-component of gravity needed for the device orientation to be
classified as being on a user's ear. If the Y-component is less than this negative value,
the device is probably upside-down and therefore not on a ear -->
<item name="device_on_ear_y_gravity_negative_threshold" format="float" type="dimen">-1</item>
<!-- When true, an option is shown in the call blocking screen which allows the user to block
all incoming calls from callers not in their contacts. -->
<bool name="show_option_to_block_callers_not_in_contacts">false</bool>
<!-- When true, the options in the call blocking settings to block restricted and unknown
callers are combined into a single toggle. -->
<bool name="combine_options_to_block_restricted_and_unknown_callers">true</bool>
<!-- When set, Telecom will attempt to bind to the {@link CallDiagnosticService} implementation
defined by the app with this package name. -->
<string name="call_diagnostic_service_package_name"></string>
</resources>