commit | e808b4d616315f4f053c69f2c28e8f42db609795 | [log] [tgz] |
---|---|---|
author | Tyler Gunn <tgunn@google.com> | Tue Sep 20 10:51:02 2016 -0700 |
committer | gitbuildkicker <android-build@google.com> | Tue Sep 20 14:21:35 2016 -0700 |
tree | b39a2208b2c4a825c65020723bba81499af4f0ba | |
parent | 32d6a1a8ee19e7e7ac5ba8e22aedb3ad15a3ed9f [diff] |
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)