When no sound comes out of wired headphones connected to "USB to headphone adapter", how do you get the sound to work? background:


I have a new phone, Google Pixel 2, that does not have a 3.5 mm headphone jack
about 4 times out of 5 times when I try to use wired headphones --> the sound does not come out of the headphones but instead is emitted from the phone's speakers


things i've tried:


I have tried unplugging and plugging in the "USB-C to 3.5 mm headphone adapter" (or just "USB to headphone adapter" for short) and sometimes this gets the audio to come out of the headphones.
But many times no matter how many times (10+ times) I try unplugging/plugging the "USB to headphone adapter" into the phone... the audio does not come out of the headphones.


When no sound comes out of wired headphones connected to "USB to headphone adapter", how do you get the sound to work?
The only workaround I have found to work reliably is:


restart the phone right before you need to use the wired headphones with the "USB to headphone adapter"
after the restart, the sound always works on my wired headphones connected to the "USB to headphone adapter"


(

Side note:


The fact that I have to restart the phone and this causes the sound to always work... IMO indicates a software issue. 
Some sort of Android service that detects the adapter being plugged in is not working properly and the restart ensures that the service is working properly. 
Most likely if someone with better expert knowledge knew exactly what service needed to be restarted... restarting that service would be a better solution (probably faster to restart one service instead of the whole phone... and doesn't interrupt what you are doing on the phone like a restart).


)