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

Commit 4bfade86 authored by Yuyang Huang's avatar Yuyang Huang Committed by Automerger Merge Worker
Browse files

Merge "remove intent comparison" into main am: c96fc9cc

parents 9a0f80c3 c96fc9cc
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -192,10 +192,6 @@ public class BluetoothInCallService extends InCallService {
        @Override
        public void onReceive(Context context, Intent intent) {
            synchronized (LOCK) {
                if (intent.getAction() != BluetoothAdapter.ACTION_STATE_CHANGED) {
                    Log.w(TAG, "BluetoothAdapterReceiver: Intent action " + intent.getAction());
                    return;
                }
                int state =
                        intent.getIntExtra(BluetoothAdapter.EXTRA_STATE, BluetoothAdapter.ERROR);
                Log.d(TAG, "Bluetooth Adapter state: " + state);
@@ -207,7 +203,6 @@ public class BluetoothInCallService extends InCallService {
            }
        }
    }
    ;

    /** Receives events for global state changes of the bluetooth adapter. */
    // TODO: The code is moved from Telecom stack. Since we're running in the BT process itself,