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

Commit f3520b97 authored by Pomai Ahlo's avatar Pomai Ahlo
Browse files

Remove Sockets 24Q3 flag

Remove flag for unix_file_socket_creation_failure

Bug: 318886332
Test: m Bluetooth
Flag: com.android.bluetooth.flags.unix_file_socket_creation_failure
Change-Id: I7297241612aa2de87abd607520d6a838c09250a0
parent c197313a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1108,7 +1108,7 @@ package android.bluetooth {
    field public static final int SOCKET_CLOSED = 17; // 0x11
    field public static final int SOCKET_CONNECTION_FAILURE = 18; // 0x12
    field public static final int SOCKET_MANAGER_FAILURE = 16; // 0x10
    field @FlaggedApi("com.android.bluetooth.flags.unix_file_socket_creation_failure") public static final int UNIX_FILE_SOCKET_CREATION_FAILURE = 21; // 0x15
    field public static final int UNIX_FILE_SOCKET_CREATION_FAILURE = 21; // 0x15
    field public static final int UNSPECIFIED = 0; // 0x0
  }

+0 −4
Original line number Diff line number Diff line
@@ -18,13 +18,10 @@ package android.bluetooth;

import static java.lang.annotation.RetentionPolicy.SOURCE;

import android.annotation.FlaggedApi;
import android.annotation.IntDef;
import android.annotation.NonNull;
import android.annotation.RequiresNoPermission;

import com.android.bluetooth.flags.Flags;

import java.io.IOException;
import java.lang.annotation.Retention;

@@ -160,7 +157,6 @@ public class BluetoothSocketException extends IOException {
    public static final int RPC_FAILURE = 20;

    /** Error code during connect when the UNIX socket connection creation fails. */
    @FlaggedApi(Flags.FLAG_UNIX_FILE_SOCKET_CREATION_FAILURE)
    public static final int UNIX_FILE_SOCKET_CREATION_FAILURE = 21;

    /* Corresponding messages for respective error codes. */