diff options
author | twyen <twyen@google.com> | 2017-07-05 17:54:33 -0700 |
---|---|---|
committer | Eric Erfanian <erfanian@google.com> | 2017-07-10 10:45:55 -0700 |
commit | 3128dea03a0e3981511dfed6f3ef555f0b574725 (patch) | |
tree | ca11f6e9dd07103529846057bc33ed6179bd8e56 /java/com/android/contacts | |
parent | 1803be7a4f88ebf05dddc99fcce6781f7ee937f9 (diff) |
Use NOTIFICATION_INCOMING_CALL_QUIET when the in call UI is visible
There's a bug in O notification framework that the HUN(heads up notification) will always show when a notification with fullScreenIntent is updated.
Previously NOTIFICATION_INCOMING_CALL_QUIET is only used when the call is already active when the new incoming call is received. NOTIFICATION_INCOMING_CALL_QUIET will post the notification to the ongoing call channel instead of the incoming call, which in theory will have lower importance and the HUN will not show. In this CL, all incoming call notification will become "quiet" if the InCallUi is visible.
Bug: 62458080
Test: StatusBarNotiferTest.java
PiperOrigin-RevId: 161029526
Change-Id: I671105ecfc102beb43e52cf4d91d55a66d31cd0e
Diffstat (limited to 'java/com/android/contacts')
0 files changed, 0 insertions, 0 deletions