Skip to content

Commit

Permalink
Safe string comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
agava46 committed Sep 28, 2014
1 parent 35663cf commit 913ca12
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public void onCreate(Bundle savedInstanceState) {
friendID.setText(uri.getHost());
//TODO: ACCEPT DNS LOOKUPS FROM URI

} else if (intent.getAction().equals("toxv2")) {
} else if ("toxv2".equals(intent.getAction())) {
//else if it came from toxv2 restart

friendID.setText(intent.getStringExtra("originalUsername"));
Expand Down

0 comments on commit 913ca12

Please sign in to comment.