commit | c18ad7a8c917c6388668784461456cc779031e0b | [log] [tgz] |
---|---|---|
author | yueg <yueg@google.com> | Wed Oct 18 14:45:05 2017 -0700 |
committer | Eric Erfanian <erfanian@google.com> | Thu Oct 19 08:37:25 2017 -0700 |
tree | aa6c70e1f0c287f013b068e95b10ca400f2a659f | |
parent | 6b864300238962f896ab78eaedea3b04814e3bff [diff] |
Fix NPE in TelecomAdapter.stopForegroundNotification(). In InCallServiceImpl.tearDown(), we should only clear inCallService after InCallPresenter.tearDown() where we remove all notification. Also remove null assertion in stopForegroundNotification() since other crash should only happens when there is no notification. Test: StatusBarNotifierTest PiperOrigin-RevId: 172657924 Change-Id: I86e720b80f885aa93f12215fda899ee62eeaba5b