BlueZ profiles enabling/disabling pretty much means the dbus objects being either registered or not. I suppose you could still call function of BlueZ to remove such objects say org.bluez.AudioSource and unregister them at runtime...
But it would involve new functions though....
Droid sent - Ignore typos
On Fri, Sep 21, 2012 at 11:53 AM, Ed Embedd <ed.e...@gmail.com> wrote:Some profiles like HFP/HSP (or opp/pbap not in Android BlueZ) -
> Hi,
> I'm trying to remove some of the audio profiles that come with android ICS
> bluetooth.
> I experimented with success on a linux box the audio.conf editing method,
> adding to "disable=" line the unwanted profiles.
> Unfortunately under android this method doesn't seem to work properly, in
> fact not all the profiles were disabled after restarting bluetooth, for
> example voice gateway doesn't want to disappear.
> Moreover, adding "control" profile breaks the bluetooth activation.
doesn't depend on BlueZ - so having them not having them in
audio.conf might not make a difference.