Skip to content

Commit

Permalink
Ignore DeadObjectException on broadcast
Browse files Browse the repository at this point in the history
  • Loading branch information
Mygod committed Mar 8, 2019
1 parent 68e2815 commit 28e03c7
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ object BaseService {
repeat(callbacks.beginBroadcast()) {
try {
work(callbacks.getBroadcastItem(it))
} catch (_: DeadObjectException) {
} catch (e: Exception) {
printLog(e)
}
Expand Down

0 comments on commit 28e03c7

Please sign in to comment.