OSDN Git Service

Relax notification filter for badges
authorTony Wickham <twickham@google.com>
Tue, 2 May 2017 18:16:26 +0000 (11:16 -0700)
committerTony Wickham <twickham@google.com>
Tue, 2 May 2017 21:02:37 +0000 (14:02 -0700)
commit44410552339377f55a98b32dbadb4f7cf3aa8d83
treefd02abe4a38ebc49a8666b74b1d60f8eacc37841
parentf77a6f7fd75243999912d040470a543e825d6d12
Relax notification filter for badges

- Allow notifications with only title or text, not both (centered in popup)
- Allow notifications without an intent (don't add onClickListener)

Change-Id: I33d9bdbe0d27347d703b6fb81eda64ebdc7429d5
src/com/android/launcher3/notification/NotificationListener.java
src/com/android/launcher3/notification/NotificationMainView.java