Skip to content

Commit

Permalink
Log instead of Toast
Browse files Browse the repository at this point in the history
  • Loading branch information
hannesstruss committed Jul 4, 2016
1 parent 137f01c commit 7d3ef98
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
import android.os.Messenger;
import android.util.Log;
import android.view.WindowManager;
import android.widget.Toast;

import de.hannesstruss.windfish.common.Constants;

Expand Down Expand Up @@ -55,7 +54,7 @@ public void attach(Activity activity) {
Log.d(TAG, String.format("Attempt successful: %s", couldConnect));

if (!couldConnect) {
Toast.makeText(activity, "Couldn't connect to WindFish service. Did you install the companion app?", Toast.LENGTH_LONG).show();
Log.w(TAG, "Couldn't connect to WindFish service. Did you install the companion app?");
}
}

Expand Down

0 comments on commit 7d3ef98

Please sign in to comment.