diff options
author | sjtufs <sjtu_fs@outlook.com> | 2013-08-30 22:33:16 +0800 |
---|---|---|
committer | sjtufs <sjtu_fs@outlook.com> | 2013-08-30 22:33:16 +0800 |
commit | 6f38860cd5907501d90eb5518ac42978d7dec834 (patch) | |
tree | 6c461b109242e8c0bb59d1f1a1a0373261e8d88a /client/Piztor/src/com/macaroon/piztor/AlertMaker.java | |
parent | 04cd785f24d779996df8672938372467af6c9a82 (diff) |
update
Diffstat (limited to 'client/Piztor/src/com/macaroon/piztor/AlertMaker.java')
-rw-r--r-- | client/Piztor/src/com/macaroon/piztor/AlertMaker.java | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/client/Piztor/src/com/macaroon/piztor/AlertMaker.java b/client/Piztor/src/com/macaroon/piztor/AlertMaker.java index 839813a..cc70e62 100644 --- a/client/Piztor/src/com/macaroon/piztor/AlertMaker.java +++ b/client/Piztor/src/com/macaroon/piztor/AlertMaker.java @@ -96,7 +96,7 @@ public class AlertMaker { mapMaker.DrawMarker(markerPoint); else { Toast toast = Toast.makeText(context, - "Too early!Give me more time!", Toast.LENGTH_LONG); + "Too early! Give me at least 2 minutes!", Toast.LENGTH_LONG); toast.show(); closeBoard(context); showMarkerAlert(markerPoint); @@ -108,26 +108,4 @@ public class AlertMaker { markerDialog.show(); } - public void showQuitAlert() { - - AlertDialog.Builder quitDialog = new AlertDialog.Builder(context); - closeBoard(context); - quitDialog.setTitle("Quit"); - quitDialog.setMessage("Do you want to logout and quit?"); - quitDialog.setPositiveButton("Quit", - new DialogInterface.OnClickListener() { - public void onClick(DialogInterface dialog, int which) { - AppMgr.exit(); - } - }); - quitDialog.setNegativeButton("Cancel", - new DialogInterface.OnClickListener() { - public void onClick(DialogInterface dialog, int which) { - dialog.cancel(); - closeBoard(context); - } - }); - quitDialog.show(); - } - } |