diff options
-rw-r--r-- | src/com/android/gallery3d/filtershow/FilterShowActivity.java | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/com/android/gallery3d/filtershow/FilterShowActivity.java b/src/com/android/gallery3d/filtershow/FilterShowActivity.java index 3cd4262fa..dbf26e448 100644 --- a/src/com/android/gallery3d/filtershow/FilterShowActivity.java +++ b/src/com/android/gallery3d/filtershow/FilterShowActivity.java @@ -1005,17 +1005,12 @@ public class FilterShowActivity extends Activity implements OnItemClickListener, saveImage(); } }); - builder.setNeutralButton(R.string.exit, new DialogInterface.OnClickListener() { + builder.setNegativeButton(R.string.exit, new DialogInterface.OnClickListener() { public void onClick(DialogInterface dialog, int id) { done(); } }); - builder.setNegativeButton(R.string.cancel, new DialogInterface.OnClickListener() { - public void onClick(DialogInterface dialog, int id) { - } - }); - - AlertDialog dialog = builder.show(); + builder.show(); } } } |