Skip to content

Commit

Permalink
Catch all exceptions when removing view (#218)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jawnnypoo authored and xiphirx committed Oct 17, 2017
1 parent b812385 commit d2d4ae9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ static void removeView(ViewManager parent, View child) {

try {
parent.removeView(child);
} catch (NullPointerException ignored) {
} catch (Exception ignored) {
// This catch exists for modified versions of Android that have a buggy ViewGroup
// implementation. See b.android.com/77639, #121 and #49
}
Expand Down

0 comments on commit d2d4ae9

Please sign in to comment.