OSDN Git Service

Filter out some notifications.
authorTony Wickham <twickham@google.com>
Wed, 15 Mar 2017 16:44:40 +0000 (09:44 -0700)
committerTony Wickham <twickham@google.com>
Wed, 15 Mar 2017 22:43:27 +0000 (15:43 -0700)
commit74884ce164b228afe93f4cae5f0351ec969ed55c
tree71bafd5a09b16a06e2ef52681dfe1969bcb639ab
parent08d8bb9cde705ef66561fb2dbed0af7af2632812
Filter out some notifications.

- Filter out any notification without title and text
- Filter out ongoing notifications on the default, legacy channel
- Respect notification's badgeIcon param instead of always using
  BADGE_ICON_LARGE (this way we can change the default on system)

Bug: 35097755
Bug: 36150272
Change-Id: If10b663e27a96354fd40a6e0f71e17b250290115
src/com/android/launcher3/notification/NotificationInfo.java
src/com/android/launcher3/notification/NotificationListener.java