]> git.zerfleddert.de Git - FreeShisen/commitdiff
null?
authorgitknilch <gitknilch@cwde.de>
Sun, 24 Mar 2013 16:13:51 +0000 (17:13 +0100)
committergitknilch <gitknilch@cwde.de>
Sun, 24 Mar 2013 16:13:51 +0000 (17:13 +0100)
Change-Id: I687fe79161723b7da7b9a065dea533c795748d9e
Signed-off-by: gitknilch <gitknilch@cwde.de>
src/de/cwde/freeshisen/HighscoreActivity.java

index bf94458f089b221c8f2ce1b916249e468e2decc1..596973765d64ac5b661e31cd2aca6756ea310cb9 100644 (file)
@@ -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();
Impressum, Datenschutz