Loading packages/SettingsLib/src/com/android/settingslib/bluetooth/A2dpProfile.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -105,7 +105,7 @@ public class A2dpProfile implements LocalBluetoothProfile { BluetoothProfile.A2DP); BluetoothProfile.A2DP); } } public boolean isConnectable() { public boolean accessProfileEnabled() { return true; return true; } } Loading packages/SettingsLib/src/com/android/settingslib/bluetooth/A2dpSinkProfile.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -99,7 +99,7 @@ final class A2dpSinkProfile implements LocalBluetoothProfile { BluetoothProfile.A2DP_SINK); BluetoothProfile.A2DP_SINK); } } public boolean isConnectable() { public boolean accessProfileEnabled() { return true; return true; } } Loading packages/SettingsLib/src/com/android/settingslib/bluetooth/CachedBluetoothDevice.java +2 −2 Original line number Original line Diff line number Diff line Loading @@ -249,7 +249,7 @@ public class CachedBluetoothDevice implements Comparable<CachedBluetoothDevice> int preferredProfiles = 0; int preferredProfiles = 0; for (LocalBluetoothProfile profile : mProfiles) { for (LocalBluetoothProfile profile : mProfiles) { if (connectAllProfiles ? profile.isConnectable() : profile.isAutoConnectable()) { if (connectAllProfiles ? profile.accessProfileEnabled() : profile.isAutoConnectable()) { if (profile.isPreferred(mDevice)) { if (profile.isPreferred(mDevice)) { ++preferredProfiles; ++preferredProfiles; connectInt(profile); connectInt(profile); Loading Loading @@ -735,7 +735,7 @@ public class CachedBluetoothDevice implements Comparable<CachedBluetoothDevice> List<LocalBluetoothProfile> connectableProfiles = List<LocalBluetoothProfile> connectableProfiles = new ArrayList<LocalBluetoothProfile>(); new ArrayList<LocalBluetoothProfile>(); for (LocalBluetoothProfile profile : mProfiles) { for (LocalBluetoothProfile profile : mProfiles) { if (profile.isConnectable()) { if (profile.accessProfileEnabled()) { connectableProfiles.add(profile); connectableProfiles.add(profile); } } } } Loading packages/SettingsLib/src/com/android/settingslib/bluetooth/HeadsetProfile.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -106,7 +106,7 @@ public class HeadsetProfile implements LocalBluetoothProfile { BluetoothProfile.HEADSET); BluetoothProfile.HEADSET); } } public boolean isConnectable() { public boolean accessProfileEnabled() { return true; return true; } } Loading packages/SettingsLib/src/com/android/settingslib/bluetooth/HearingAidProfile.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -109,7 +109,7 @@ public class HearingAidProfile implements LocalBluetoothProfile { BluetoothProfile.HEARING_AID); BluetoothProfile.HEARING_AID); } } public boolean isConnectable() { public boolean accessProfileEnabled() { return false; return false; } } Loading Loading
packages/SettingsLib/src/com/android/settingslib/bluetooth/A2dpProfile.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -105,7 +105,7 @@ public class A2dpProfile implements LocalBluetoothProfile { BluetoothProfile.A2DP); BluetoothProfile.A2DP); } } public boolean isConnectable() { public boolean accessProfileEnabled() { return true; return true; } } Loading
packages/SettingsLib/src/com/android/settingslib/bluetooth/A2dpSinkProfile.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -99,7 +99,7 @@ final class A2dpSinkProfile implements LocalBluetoothProfile { BluetoothProfile.A2DP_SINK); BluetoothProfile.A2DP_SINK); } } public boolean isConnectable() { public boolean accessProfileEnabled() { return true; return true; } } Loading
packages/SettingsLib/src/com/android/settingslib/bluetooth/CachedBluetoothDevice.java +2 −2 Original line number Original line Diff line number Diff line Loading @@ -249,7 +249,7 @@ public class CachedBluetoothDevice implements Comparable<CachedBluetoothDevice> int preferredProfiles = 0; int preferredProfiles = 0; for (LocalBluetoothProfile profile : mProfiles) { for (LocalBluetoothProfile profile : mProfiles) { if (connectAllProfiles ? profile.isConnectable() : profile.isAutoConnectable()) { if (connectAllProfiles ? profile.accessProfileEnabled() : profile.isAutoConnectable()) { if (profile.isPreferred(mDevice)) { if (profile.isPreferred(mDevice)) { ++preferredProfiles; ++preferredProfiles; connectInt(profile); connectInt(profile); Loading Loading @@ -735,7 +735,7 @@ public class CachedBluetoothDevice implements Comparable<CachedBluetoothDevice> List<LocalBluetoothProfile> connectableProfiles = List<LocalBluetoothProfile> connectableProfiles = new ArrayList<LocalBluetoothProfile>(); new ArrayList<LocalBluetoothProfile>(); for (LocalBluetoothProfile profile : mProfiles) { for (LocalBluetoothProfile profile : mProfiles) { if (profile.isConnectable()) { if (profile.accessProfileEnabled()) { connectableProfiles.add(profile); connectableProfiles.add(profile); } } } } Loading
packages/SettingsLib/src/com/android/settingslib/bluetooth/HeadsetProfile.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -106,7 +106,7 @@ public class HeadsetProfile implements LocalBluetoothProfile { BluetoothProfile.HEADSET); BluetoothProfile.HEADSET); } } public boolean isConnectable() { public boolean accessProfileEnabled() { return true; return true; } } Loading
packages/SettingsLib/src/com/android/settingslib/bluetooth/HearingAidProfile.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -109,7 +109,7 @@ public class HearingAidProfile implements LocalBluetoothProfile { BluetoothProfile.HEARING_AID); BluetoothProfile.HEARING_AID); } } public boolean isConnectable() { public boolean accessProfileEnabled() { return false; return false; } } Loading