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/AppMgr.java | |
parent | 04cd785f24d779996df8672938372467af6c9a82 (diff) |
update
Diffstat (limited to 'client/Piztor/src/com/macaroon/piztor/AppMgr.java')
-rw-r--r-- | client/Piztor/src/com/macaroon/piztor/AppMgr.java | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/client/Piztor/src/com/macaroon/piztor/AppMgr.java b/client/Piztor/src/com/macaroon/piztor/AppMgr.java index e322745..933d2db 100644 --- a/client/Piztor/src/com/macaroon/piztor/AppMgr.java +++ b/client/Piztor/src/com/macaroon/piztor/AppMgr.java @@ -68,21 +68,15 @@ public class AppMgr { static void trigger(int event) { Intent i = new Intent(); - System.out.println(nowAct.id + " : " + event); - if (mp.get(nowAct.getClass()) == null) - System.out.println("first"); - else if (mp.get(nowAct.getClass()) == null) - System.out.println("second"); i.setClass(nowAct, mp.get(nowAct.getClass()).get(event)); if (event == errorToken) Infomation.token = null; if (event == loginSuccess) { mBMapManager.start(); - transam.startPush(Infomation.token, Infomation.username); + mapInfo.clear(); } if (event == logout) { mBMapManager.stop(); - transam.stopPush(); } nowAct.startActivity(i); } |