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

Commit efdf0848 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Remove unused callback"

parents 21110c50 49a6c0a8
Loading
Loading
Loading
Loading
+0 −26
Original line number Diff line number Diff line
@@ -3771,26 +3771,6 @@ public final class BluetoothAdapter {
                        }
                    }
                }

                public void onBrEdrDown() {
                    if (VDBG) {
                        Log.i(TAG, "onBrEdrDown");
                    }

                    synchronized (sServiceLock) {
                        for (IBluetoothManagerCallback cb : sProxyServiceStateCallbacks.keySet()) {
                            try {
                                if (cb != null) {
                                    cb.onBrEdrDown();
                                } else {
                                    Log.d(TAG, "onBrEdrDown: cb is null!");
                                }
                            } catch (Exception e) {
                                Log.e(TAG, "", e);
                            }
                        }
                    }
                }
            };

    private final IBluetoothManagerCallback mManagerCallback =
@@ -3891,9 +3871,6 @@ public final class BluetoothAdapter {
                        mServiceLock.writeLock().unlock();
                    }
                }

                public void onBrEdrDown() {
                }
            };

    /**
@@ -4339,9 +4316,6 @@ public final class BluetoothAdapter {
            public void onBluetoothServiceDown() {
                ServiceLifecycleCallback.this.onBluetoothServiceDown();
            }

            @Override
            public void onBrEdrDown() {}
        };
    }

+0 −1
Original line number Diff line number Diff line
@@ -26,5 +26,4 @@ import android.bluetooth.IBluetooth;
oneway interface IBluetoothManagerCallback {
    void onBluetoothServiceUp(in IBluetooth bluetoothService);
    void onBluetoothServiceDown();
    void onBrEdrDown();
}