commit | be3c7d0c56fe35e8822c4bb5ee22ad44ed504850 | [log] [tgz] |
---|---|---|
author | Tony <twickham@google.com> | Mon Feb 13 10:17:37 2017 -0800 |
committer | Tony Wickham <twickham@google.com> | Tue Feb 21 08:44:28 2017 -0800 |
tree | 8e6cbabcfc00bcf33e6c51a431881ea9c82171e8 | |
parent | dd88dd16c5419e2620e4e9a7200fc8aa4ca21f0e [diff] |
Remove badges when launcher loses notification access - NotificationListener.getInstance() has been changed to getInstanceIfConnected() (same behavior as before). - When starting launcher, we send a full refresh of badges regardless of whether the NotificationListner is connected. If it is not connected, we pass an empty list for the active notifications, so that all pre-existing badges are removed. Bug: 35221052 Change-Id: If920317f10814c010e02b5a30ce86a58ac7bc61c