mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	bluetooth: Implement org.ofono.HandsfreeAudioAgent.Release()
This commit is contained in:
		
							parent
							
								
									b1a09ebf7e
								
							
						
					
					
						commit
						f7c7cd1825
					
				
					 1 changed files with 9 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -491,7 +491,15 @@ static DBusMessage *hf_audio_agent_release(DBusConnection *c, DBusMessage *m, vo
 | 
			
		|||
        return r;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    r = dbus_message_new_error(m, "org.ofono.Error.NotImplemented", "Operation is not implemented");
 | 
			
		||||
    pa_log_debug("HF audio agent has been unregistered by oFono (%s)", backend->ofono_bus_id);
 | 
			
		||||
 | 
			
		||||
    pa_hashmap_remove_all(backend->cards);
 | 
			
		||||
 | 
			
		||||
    pa_xfree(backend->ofono_bus_id);
 | 
			
		||||
    backend->ofono_bus_id = NULL;
 | 
			
		||||
 | 
			
		||||
    pa_assert_se(r = dbus_message_new_method_return(m));
 | 
			
		||||
 | 
			
		||||
    return r;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue