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

Commit 0ac0d17d authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "Bluetooth: Added new key to store last connected A2dp Sep type"

parents e3a82231 6fc2f763
Loading
Loading
Loading
Loading
+18 −0
Original line number Diff line number Diff line
@@ -117,6 +117,24 @@ public interface BluetoothProfile {
     */
    public static final int HANDSFREE_CLIENT = 10;

     /**
     * A2dp Source
     * @hide
     */
    public static final int PROFILE_A2DP_SRC = 1;

    /**
    * A2dp Sink
    * @hide
    */
    public static final int PROFILE_A2DP_SNK = 2;

    /**
    * Profile A2dp undefined
    * @hide
    */
    public static final int PROFILE_A2DP_UNDEFINED = -1;

    /**
     * DUN
     * @hide
+11 −0
Original line number Diff line number Diff line
@@ -5723,6 +5723,9 @@ public final class Settings {
        public static final String
                BLUETOOTH_A2DP_SINK_PRIORITY_PREFIX = "bluetooth_a2dp_sink_priority_";
        /** {@hide} */
        public static final String
                BLUETOOTH_LAST_CONNECTED_A2DP_SEP_TYPE = "bluetooth_last_connected_a2dp_sep_type_";
        /** {@hide} */
        public static final String
                BLUETOOTH_INPUT_DEVICE_PRIORITY_PREFIX = "bluetooth_input_device_priority_";
        /** {@hide} */
@@ -5745,6 +5748,14 @@ public final class Settings {
            return BLUETOOTH_A2DP_SINK_PRIORITY_PREFIX + address.toUpperCase(Locale.ROOT);
        }

        /**
         * Get the key that retrieves a bluetooth last connected a2dp profile.
         * @hide
         */
        public static final String getBluetoothLastConnectedA2dpSepTypeKey(String address) {
            return BLUETOOTH_LAST_CONNECTED_A2DP_SEP_TYPE + address.toUpperCase(Locale.ROOT);
        }

        /**
         * Get the key that retrieves a bluetooth Input Device's priority.
         * @hide