diff options
author | Teddy <ted.sybil@gmail.com> | 2013-08-30 22:48:29 +0800 |
---|---|---|
committer | Teddy <ted.sybil@gmail.com> | 2013-08-30 22:48:29 +0800 |
commit | 29b6f83eca288a1bdc2b5cfcbbd1ae2651b97ae6 (patch) | |
tree | 173a519dbb893170aa4856a727205f0d73b8b2fd /client/Piztor/src/com/macaroon/piztor/AlertMaker.java | |
parent | 3054e381a1d384dee4206bfe5646f057bf82446e (diff) | |
parent | 1cc2c0f8319df86602da0ae1eed6456d4ff3b172 (diff) |
Merge branch 'master' of github.com:Determinant/piztor
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(); - } - } |