Permalink
Browse files

replaced Toast with Log.d() in onDismiss()

  • Loading branch information...
1 parent 2a5fb00 commit f87c3513040336dece42e60cc0122a591b1bf426 @commonsguy committed Sep 17, 2012
@@ -19,6 +19,7 @@
import android.content.DialogInterface;
import android.os.Bundle;
import android.support.v4.app.DialogFragment;
+import android.util.Log;
import android.view.View;
import android.widget.EditText;
import android.widget.Toast;
@@ -56,7 +57,7 @@ public void onClick(DialogInterface dialog, int which) {
public void onDismiss(DialogInterface unused) {
super.onDismiss(unused);
- Toast.makeText(getActivity(), R.string.goodbye, Toast.LENGTH_LONG).show();
+ Log.d(getClass().getSimpleName(), "Goodbye!");
}
@Override

0 comments on commit f87c351

Please sign in to comment.