From a8b770d4718735d02404c2c967a826040c6f3ebe Mon Sep 17 00:00:00 2001 From: gitknilch Date: Sun, 24 Mar 2013 17:13:51 +0100 Subject: [PATCH] null? Change-Id: I687fe79161723b7da7b9a065dea533c795748d9e Signed-off-by: gitknilch --- src/de/cwde/freeshisen/HighscoreActivity.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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(); -- 2.39.5