OSDN Git Service

A notification that emerges from Zen Mode interception should beep.
authorChris Wren <cwren@android.com>
Tue, 3 Jun 2014 22:11:47 +0000 (18:11 -0400)
committerChris Wren <cwren@android.com>
Thu, 5 Jun 2014 16:38:13 +0000 (12:38 -0400)
commita344656a010dc3c88aef39109f1ac459792e7607
treee35d4036aa763b3dbcfe6fb0b99e7f96960d727a
parent7256a852cee3a656615af19ebeb3ad7379a194fb
A notification that emerges from Zen Mode interception should beep.

If a notificaiton emerges from Zen Mode due to a ranking
reconsideration (possibly because a long-running query resolved an
important person) then it should get the oportunity buzz, beep, blink,
and send accessibility events.

Save what we need to know about the old notificaiton record on the new
record so we don't have to hold onto it.

Bug: 15383458
Change-Id: I15c7834fef03ff6a676e78e9d2caae24f00720ef
services/core/java/com/android/server/notification/NotificationManagerService.java
services/core/java/com/android/server/notification/NotificationRecord.java