~ubuntu-branches/ubuntu/wily/bluez/wily

« back to all changes in this revision

Viewing changes to debian/patches/telephony_ofono_disable_inband_default.patch

  • Committer: Package Import Robot
  • Author(s): Ricardo Salveti de Araujo
  • Date: 2014-10-09 00:18:38 UTC
  • Revision ID: package-import@ubuntu.com-20141009001838-e9btbg24gvhfnchd
Tags: 4.101-0ubuntu20
* debian/patches/telephony_ofono_disable_inband_default.patch:
  - Disabling default inband ringtone option on telephony-ofono,
    as that is not yet supported by our userspace (LP: #1363046)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
From: Ricardo Salveti <ricardo.salveti@canonical.com>
 
2
Subject: disabling default inband ringtone option
 
3
 
 
4
Inband ringtone is not yet supported by our userspace, so disable it
 
5
by default on telephony-ofono (lack of a config, disabling at the
 
6
definition). Can be removed once telephony-service is ready for inband
 
7
ringtone (and pulseaudio-droid, on touch).
 
8
 
 
9
Bug-Ubuntu: https://bugs.launchpad.net/bugs/1363046
 
10
 
 
11
Index: bluez-4.101/audio/telephony-ofono.c
 
12
===================================================================
 
13
--- bluez-4.101.orig/audio/telephony-ofono.c
 
14
+++ bluez-4.101/audio/telephony-ofono.c
 
15
@@ -1548,8 +1548,8 @@ static void handle_service_disconnect(DB
 
16
 
 
17
 int telephony_init(void)
 
18
 {
 
19
+       /* Ubuntu: INBAND RINGTONE not set by default as not yet supported by userspace  */
 
20
        uint32_t features = AG_FEATURE_EC_ANDOR_NR |
 
21
-                               AG_FEATURE_INBAND_RINGTONE |
 
22
                                AG_FEATURE_REJECT_A_CALL |
 
23
                                AG_FEATURE_ENHANCED_CALL_STATUS |
 
24
                                AG_FEATURE_ENHANCED_CALL_CONTROL |