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

Commit e3d29aba authored by William Escande's avatar William Escande Committed by Gerrit Code Review
Browse files

Merge "BluetoothManager: remove impossible null context case" into main

parents 5902ad25 3b06664e
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);
    }