Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix duplicate politeia notification listener error (planetdecred#540)
An error that causes the app to crash occurs when multiple notification listeners are added with the same key. This occurred because a notification listener added previously in the app onResume was not removed in onStop which can happen if the OS fails to call onStop. This error is avoided by removing any notification listener added with the key before adding a new notification listener.
- Loading branch information