summaryrefslogtreecommitdiff
path: root/framework/java/android/bluetooth/BluetoothHeadset.java
diff options
context:
space:
mode:
authorEtienne Ruffieux <eruffieux@google.com>2022-01-25 14:22:28 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2022-01-25 14:22:28 +0000
commit41f1eda6e596851a13010b3449d7275b95945fa3 (patch)
tree6df241def1a198089e1094bef9842b8d0421b546 /framework/java/android/bluetooth/BluetoothHeadset.java
parented2bc6fa008e2617e0644428293429f113583212 (diff)
parent46f0869e440ec05086a4916b95855b865eeb085c (diff)
Migrating Bluetooth resources to Bluetooth module am: 46f0869e44
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/1931007 Change-Id: Ic455504069d3f92732ad2dcef9f1ab0e07633bd4
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothHeadset.java')
-rw-r--r--framework/java/android/bluetooth/BluetoothHeadset.java21
1 files changed, 0 insertions, 21 deletions
diff --git a/framework/java/android/bluetooth/BluetoothHeadset.java b/framework/java/android/bluetooth/BluetoothHeadset.java
index 1b141c9afa..750e3a8323 100644
--- a/framework/java/android/bluetooth/BluetoothHeadset.java
+++ b/framework/java/android/bluetooth/BluetoothHeadset.java
@@ -911,16 +911,6 @@ public final class BluetoothHeadset implements BluetoothProfile {
return defaultValue;
}
- /**
- * Indicates if current platform supports voice dialing over bluetooth SCO.
- *
- * @return true if voice dialing over bluetooth is supported, false otherwise.
- * @hide
- */
- public static boolean isBluetoothVoiceDialingEnabled(Context context) {
- return context.getResources().getBoolean(
- com.android.internal.R.bool.config_bluetooth_sco_off_call);
- }
/**
* Get the current audio state of the Headset.
@@ -1433,17 +1423,6 @@ public final class BluetoothHeadset implements BluetoothProfile {
return defaultValue;
}
- /**
- * Check if in-band ringing is supported for this platform.
- *
- * @return true if in-band ringing is supported, false if in-band ringing is not supported
- * @hide
- */
- public static boolean isInbandRingingSupported(Context context) {
- return context.getResources().getBoolean(
- com.android.internal.R.bool.config_bluetooth_hfp_inband_ringing_support);
- }
-
@SuppressLint("AndroidFrameworkBluetoothPermission")
private final IBluetoothProfileServiceConnection mConnection =
new IBluetoothProfileServiceConnection.Stub() {