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

Commit c96fc9cc authored by Yuyang Huang's avatar Yuyang Huang Committed by Gerrit Code Review
Browse files

Merge "remove intent comparison" into main

parents 33e1f5e1 5ee25f0b
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,