Added silenced verification before notifying headset.

When at least one headset is not silenced,
HeadsetPhoneState will notify HeadsetService which will
notify all HeadsetStateMachines. This adds a check to
ensure the device is not silenced before notifying it
of the state changes.

Tag: #stability
Bug: 204097820
Test: manual
Change-Id: Icb6b9c98bf85030e8e3bff7480628733ba0c715e
1 file changed
tree: 6d66ba042ad001a8da23536c0c645bb326549a8d
  1. android/