mirror of
				https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
				synced 2025-11-03 09:01:50 -05:00 
			
		
		
		
	bluetooth: Remove the 'bluez.name' property
The 'Name' property of the Device interface became optional in BlueZ 5 and may not be present anymore (that happens when testing against the PTS 4.7.0), so it's better not to expose it to clients so they don't rely on its existence.
This commit is contained in:
		
							parent
							
								
									5b48062f94
								
							
						
					
					
						commit
						6cc974844e
					
				
					 1 changed files with 0 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -2262,7 +2262,6 @@ static int add_card(struct userdata *u) {
 | 
			
		|||
 | 
			
		||||
    pa_proplist_sets(data.proplist, "bluez.path", device->path);
 | 
			
		||||
    pa_proplist_setf(data.proplist, "bluez.class", "0x%06x", (unsigned) device->class);
 | 
			
		||||
    pa_proplist_sets(data.proplist, "bluez.name", device->name);
 | 
			
		||||
    pa_proplist_sets(data.proplist, "bluez.alias", device->alias);
 | 
			
		||||
    data.name = get_name("card", u->modargs, device->address, &b);
 | 
			
		||||
    data.namereg_fail = b;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue