am 29d70e44
: b/2334482 Disable Music and audio by default for the docks
Merge commit '29d70e44e42946f7b78f950bad0c4b22c7d5cb5f' into eclair-plus-aosp * commit '29d70e44e42946f7b78f950bad0c4b22c7d5cb5f': b/2334482 Disable Music and audio by default for the docks
This commit is contained in:
@@ -382,7 +382,7 @@ public class DockService extends Service implements AlertDialog.OnMultiChoiceCli
|
|||||||
items[i] = service.getString(R.string.bluetooth_dock_settings_headset);
|
items[i] = service.getString(R.string.bluetooth_dock_settings_headset);
|
||||||
mProfiles[i] = Profile.HEADSET;
|
mProfiles[i] = Profile.HEADSET;
|
||||||
if (firstTime) {
|
if (firstTime) {
|
||||||
mCheckedItems[i] = true;
|
mCheckedItems[i] = false;
|
||||||
} else {
|
} else {
|
||||||
mCheckedItems[i] = LocalBluetoothProfileManager.getProfileManager(mBtManager,
|
mCheckedItems[i] = LocalBluetoothProfileManager.getProfileManager(mBtManager,
|
||||||
Profile.HEADSET).isPreferred(device);
|
Profile.HEADSET).isPreferred(device);
|
||||||
@@ -393,7 +393,7 @@ public class DockService extends Service implements AlertDialog.OnMultiChoiceCli
|
|||||||
items[i] = service.getString(R.string.bluetooth_dock_settings_a2dp);
|
items[i] = service.getString(R.string.bluetooth_dock_settings_a2dp);
|
||||||
mProfiles[i] = Profile.A2DP;
|
mProfiles[i] = Profile.A2DP;
|
||||||
if (firstTime) {
|
if (firstTime) {
|
||||||
mCheckedItems[i] = true;
|
mCheckedItems[i] = false;
|
||||||
} else {
|
} else {
|
||||||
mCheckedItems[i] = LocalBluetoothProfileManager.getProfileManager(mBtManager,
|
mCheckedItems[i] = LocalBluetoothProfileManager.getProfileManager(mBtManager,
|
||||||
Profile.A2DP).isPreferred(device);
|
Profile.A2DP).isPreferred(device);
|
||||||
|
Reference in New Issue
Block a user