OSDN Git Service

Canel all work notification when the profile is turned off
authorRubin Xu <rubinxu@google.com>
Mon, 1 Feb 2016 16:13:45 +0000 (16:13 +0000)
committerRubin Xu <rubinxu@google.com>
Mon, 1 Feb 2016 16:13:45 +0000 (16:13 +0000)
commit7eadc1bf686de4df0801252263c887ed2c326090
tree8f9f5bfb963be7793e42848c14526e3b8eb5989c
parent15d21b3aca1c3eeb3932752194e9f196b546387b
Canel all work notification when the profile is turned off

When the work profile is turned off, all work apps are killed and the
profile marked as stopped. Cancel all pending work notifications
immediately in this case, with a new reason.

Bug: 22541941
Change-Id: I97935c3bac3eba1e9c38f7449ebcc182f6c66769
api/current.txt
api/system-current.txt
api/test-current.txt
core/java/android/service/notification/NotificationAssistantService.java
services/core/java/com/android/server/notification/NotificationManagerService.java