Skip to content

Commit

Permalink
Do not clear notifications on the onPageSelected tab listener, othe…
Browse files Browse the repository at this point in the history
…rwise notifications map will be cleared before we enter the code (`launchWithNoteId`) that does launch the app from a Push Notifications.
  • Loading branch information
daniloercoli committed Oct 17, 2016
1 parent 4c4a81c commit e4f2a29
Showing 1 changed file with 0 additions and 2 deletions.
Expand Up @@ -162,8 +162,6 @@ public void onPageSelected(int position) {
case WPMainTabAdapter.TAB_NOTIFS:
setTabLayoutElevation(mAppBarElevation);
new UpdateLastSeenTask().executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR);
// Removes app notifications from the system bar as we're looking at them right now
GCMMessageService.removeAllNotifications(WPMainActivity.this);
break;
}

Expand Down

0 comments on commit e4f2a29

Please sign in to comment.