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