Skip to content

Commit

Permalink
Corrected string comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
agava46 committed Sep 27, 2014
1 parent f6797f5 commit dc5815f
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() == "toxv2") {
} else if (intent.getAction().equals("toxv2")) {
//else if it came from toxv2 restart

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

0 comments on commit dc5815f

Please sign in to comment.