Fix issue where incoming calls go into DND mode while ringing.

The previous logic for setting auto-DND mode needed a tweak.  We should
only suppress notifications when the earpiece has ACTIVE focus (ie
not during ringing).

Bug: 31614063
Change-Id: I9944e8a181421f78f7e691154f571b4348fd212c
(cherry picked from commit 00667fc03d7b78f12eb43dedd151bdaf4941eedf)
1 file changed