~bluetooth/bluez/vivid-phone-overlay

« back to all changes in this revision

Viewing changes to debian/patches/telephony_ofono_disable_inband_default.patch

  • Committer: Simon Fels
  • Date: 2015-09-11 09:01:46 UTC
  • Revision ID: morphis@gravedo.de-20150911090146-4c0ln9s7ec3xf0nx
Import package bluez_4.101-0ubuntu25.1~overlay4 from stable phone overlay PPA

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 |