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

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

Merge "Added silenced verification before notifying headset."

parents a8981b87 0ebc9cfe
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -860,6 +860,11 @@ public class HeadsetStateMachine extends StateMachine {
                    break;
                }
                case DEVICE_STATE_CHANGED:
                    if (mDeviceSilenced) {
                        stateLogW("DEVICE_STATE_CHANGED: " + mDevice
                                + " is silenced, skip notify state changed.");
                        break;
                    }
                    mNativeInterface.notifyDeviceStatus(mDevice, (HeadsetDeviceState) message.obj);
                    break;
                case SEND_CCLC_RESPONSE: