Fix issue with USB headset not being recognized when boots

This change removes the use of obsoleted AudioManager.isWiredHeadsetOn API.

Bug: 62475394
Test: manual headset and voice call test
Change-Id: I81fb37fd26ab81b927b1cc23951c5d4e2ee6724e
Signed-off-by: David Lin <dtwlin@google.com>
1 file changed