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

Commit 8d6dc6e7 authored by William Escande's avatar William Escande
Browse files

Reformat java file in framework

Bug: 311772251
Flag: Exempt refactor
Test: None
Change-Id: I995e7a60c00e4e06944dbc3ce721b773bdd11981
parent 64782618
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -173,7 +173,8 @@ public final class BluetoothCodecType implements Parcelable {
                    case BluetoothCodecConfig.SOURCE_CODEC_TYPE_LDAC -> CODEC_ID_LDAC;
                    case BluetoothCodecConfig.SOURCE_CODEC_TYPE_OPUS -> CODEC_ID_OPUS;
                    case BluetoothCodecConfig.SOURCE_CODEC_TYPE_LC3,
                            BluetoothCodecConfig.SOURCE_CODEC_TYPE_INVALID -> -1;
                                    BluetoothCodecConfig.SOURCE_CODEC_TYPE_INVALID ->
                            -1;
                    default -> -1;
                };
        if (codecId == -1) {
+0 −1
Original line number Diff line number Diff line
@@ -16,7 +16,6 @@

package android.bluetooth;


import android.annotation.IntDef;
import android.annotation.NonNull;
import android.annotation.Nullable;
+0 −1
Original line number Diff line number Diff line
@@ -16,7 +16,6 @@

package android.bluetooth;


import android.annotation.SuppressLint;
import android.compat.annotation.UnsupportedAppUsage;
import android.os.Handler;
+2 −3
Original line number Diff line number Diff line
@@ -457,8 +457,7 @@ public final class BluetoothSocket implements Closeable {
            synchronized (this) {
                Log.i(TAG, "connect(), SocketState: " + mSocketState + ", mPfd: " + mPfd);
                if (mSocketState == SocketState.CLOSED) {
                    throw new BluetoothSocketException(
                            BluetoothSocketException.SOCKET_CLOSED);
                    throw new BluetoothSocketException(BluetoothSocketException.SOCKET_CLOSED);
                }
                if (mPfd == null) {
                    throw new BluetoothSocketException(
+1 −3
Original line number Diff line number Diff line
@@ -74,9 +74,7 @@ public abstract class PeriodicAdvertisingCallback {
     */
    public void onSyncLost(int syncHandle) {}

    /**
     * Callback when periodic sync transferred.
     */
    /** Callback when periodic sync transferred. */
    public void onSyncTransferred(BluetoothDevice device, int status) {}

    /**