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

Commit 3b06664e authored by William Escande's avatar William Escande
Browse files

BluetoothManager: remove impossible null context case

Bug: 315953786
Flag: EXEMPT, no-op change
Test: m framework-bluetooth
Change-Id: I23c55af95fc6fa81a60c48ce565b402f26c1c4b9
parent 221f5f7f
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -63,10 +63,7 @@ public final class BluetoothManager {

    /** @hide */
    public BluetoothManager(Context context) {
        mAttributionSource =
                (context != null)
                        ? context.getAttributionSource()
                        : AttributionSource.myAttributionSource();
        mAttributionSource = context.getAttributionSource();
        mAdapter = BluetoothAdapter.createAdapter(mAttributionSource);
    }