Skip to content
This repository has been archived by the owner on Nov 9, 2018. It is now read-only.

Commit

Permalink
Avoid crash for empty bubble page checks for null URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
bbondy committed Dec 4, 2015
1 parent 05875ec commit f1b990d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -841,7 +841,7 @@ public void onReceivedTitle(String url, String title) {
return;
}

if (url.equals(getContext().getString(R.string.empty_bubble_page))) {
if (url != null && url.equals(getContext().getString(R.string.empty_bubble_page))) {
mTitleTextView.setTextColor(0xFFFFFFFF);
}
mTitleTextView.setText(title);
Expand Down

0 comments on commit f1b990d

Please sign in to comment.