From: gitknilch Date: Sun, 24 Mar 2013 16:13:51 +0000 (+0100) Subject: null? X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/FreeShisen/commitdiff_plain/a8b770d4718735d02404c2c967a826040c6f3ebe null? Change-Id: I687fe79161723b7da7b9a065dea533c795748d9e Signed-off-by: gitknilch --- diff --git a/src/de/cwde/freeshisen/HighscoreActivity.java b/src/de/cwde/freeshisen/HighscoreActivity.java index bf94458..5969737 100644 --- a/src/de/cwde/freeshisen/HighscoreActivity.java +++ b/src/de/cwde/freeshisen/HighscoreActivity.java @@ -94,12 +94,7 @@ OnSharedPreferenceChangeListener { editor.commit(); } }); - builder.setNegativeButton(android.R.string.cancel, - new DialogInterface.OnClickListener() { - public void onClick(DialogInterface dialog, int id) { - // User cancelled the dialog - nothing to do - } - }); + builder.setNegativeButton(android.R.string.cancel, null); AlertDialog dialog = builder.create(); dialog.show();