OSDN Git Service

Set profiles as preferred and then try to connect.
authorJaikumar Ganesh <jaikumar@google.com>
Tue, 25 May 2010 01:00:56 +0000 (18:00 -0700)
committerJaikumar Ganesh <jaikumar@google.com>
Tue, 25 May 2010 01:00:56 +0000 (18:00 -0700)
commitd432bf76de6f7284187040de30ad6af2d6d765da
tree473d57ae73939f8db0ca95d33e5c3056d48782a3
parent687094b42f2f5670003a950c2dc29233d46411d3
Set profiles as preferred and then try to connect.

The APIs implementations are being updated to expose
A2DP and HFP APIs. A connect call is not honoured if its
not a preferred profile. So if an app changes the preference
of the profile than it should first update the state before
making the connect call. The API for updating preference
might not be exposed and will be mostly an API for app with ADMIN
privileges like Settings app.

Change-Id: I58b8e8201357bcfe615dc2322342520319d9e355
src/com/android/settings/bluetooth/ConnectSpecificProfilesActivity.java