commit | ea064f19e044f44f3f389e89d5daf2115434b18d | [log] [tgz] |
---|---|---|
author | Kent Persson <kent.persson@sonymobile.com> | Wed Dec 10 16:40:13 2014 +0100 |
committer | Jackeagle <jackeagle102@gmail.com> | Sun Nov 27 08:42:12 2016 +0530 |
tree | cad91b197f4a9da5e036ec53561b32e92831d870 | |
parent | bc4309e288877fd75e1655c28614af46b6f663f3 [diff] |
Fix NPE in BaseStatusbar in onListenerConnected If NotificationListenerService is not bound the getActiveNotifications function will return null. This will result in a Nullpointer exception in BaseStatusbar onListenerConnected if it is called. A Nullpointer check was added in onListenerConnected to avoid this Nullpointer exception. Change-Id: I0aec040f11101e8f7b5863879b3774dc2bb6ce2b Signed-off-by: xyyx <xyyx@mail.ru>