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

Commit 2453e4c7 authored by Hemant Gupta's avatar Hemant Gupta Committed by Ricardo Cerqueira
Browse files

Bluetooth: Fix resource leak in OPP (1/3)

This patch adds support for ACTION_DEVICE_NOT_SELECTED intent to
be broadcasted when no device is selected from DevicePicker activity.

Change-Id: I8e7ef1aaf7631240df794b5cea2bba30ce8bdbac
CRs-Fixed: 662147
parent dead1d6a
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -43,6 +43,14 @@ public interface BluetoothDevicePicker {
    public static final String ACTION_DEVICE_SELECTED =
            "android.bluetooth.devicepicker.action.DEVICE_SELECTED";

    /**
     * Broadcast when no BT device is selected from BT device picker screen.
     * This happens when user presses back button.
     */
    @SdkConstant(SdkConstantType.BROADCAST_INTENT_ACTION)
    public static final String ACTION_DEVICE_NOT_SELECTED =
            "org.codeaurora.bluetooth.devicepicker.action.DEVICE_NOT_SELECTED";

    /**
     * Broadcast when someone want to select one BT device from devices list.
     * This intent contains below extra data: