Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 04ca681a authored by Sumit Bajpai's avatar Sumit Bajpai Committed by Linux Build Service Account
Browse files

BT-HFP: HFP1.7 AG support in frameworks

Change-Id: I4c52d942ef581fbc592ab89c9c40272d7c41f5a1
parent ecab044d
Loading
Loading
Loading
Loading
+21 −0
Original line number Diff line number Diff line
@@ -128,6 +128,13 @@ public final class BluetoothHeadset implements BluetoothProfile {
    public static final String ACTION_VENDOR_SPECIFIC_HEADSET_EVENT =
            "android.bluetooth.headset.action.VENDOR_SPECIFIC_HEADSET_EVENT";

    /**
     * @hide Broadcast intent when HF indicator value changed is updated by HS.
     */
    @SdkConstant(SdkConstantType.BROADCAST_INTENT_ACTION)
    public static final String ACTION_HF_INDICATOR_VALUE_CHANGED =
            "codeaurora.bluetooth.headset.action.ACTION_HF_INDICATOR_VALUE_CHANGED";

    /**
     * A String extra field in {@link #ACTION_VENDOR_SPECIFIC_HEADSET_EVENT}
     * intents that contains the name of the vendor-specific command.
@@ -198,6 +205,20 @@ public final class BluetoothHeadset implements BluetoothProfile {
     */
    public static final String VENDOR_RESULT_CODE_COMMAND_ANDROID = "+ANDROID";

    /**
     * @hide Used for sharing the HF indicator assigned number.
     */
    public static final String HF_INDICATOR_ASSIGNED_NUMBER  =
            "codeaurora.bluetooth.headset.intent.category.anum";


    /**
     * @hide Used for sharing the HF indicator assigned number's value.
     */
    public static final String HF_INDICATOR_ASSIGNED_NUMBER_VALUE  =
            "codeaurora.bluetooth.headset.intent.category.anumvalue";


    /**
     * Headset state when SCO audio is not connected.
     * This state can be one of