summaryrefslogtreecommitdiff
path: root/client/Piztor/src/com/macaroon/piztor/PiztorAct.java
diff options
context:
space:
mode:
authorGoblin911 <goblinliu@gmail.com>2013-08-26 22:05:40 +0800
committerGoblin911 <goblinliu@gmail.com>2013-08-26 22:05:40 +0800
commitac55b507e9745b60d4c677ee356a470cb68266e4 (patch)
tree82b3e40067b40046594cfd4ca492bcab3f2c23bf /client/Piztor/src/com/macaroon/piztor/PiztorAct.java
parenta33623ec00b323272fe1cf5188c64f2e495da18f (diff)
network has fixed and can reach settingsAct
Diffstat (limited to 'client/Piztor/src/com/macaroon/piztor/PiztorAct.java')
-rw-r--r--client/Piztor/src/com/macaroon/piztor/PiztorAct.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/Piztor/src/com/macaroon/piztor/PiztorAct.java b/client/Piztor/src/com/macaroon/piztor/PiztorAct.java
index ad12b17..1093fb9 100644
--- a/client/Piztor/src/com/macaroon/piztor/PiztorAct.java
+++ b/client/Piztor/src/com/macaroon/piztor/PiztorAct.java
@@ -9,6 +9,7 @@ public class PiztorAct extends Activity {
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
System.out.println(id + " on create");
+ AppMgr.addAct(this);
AppMgr.setStatus(AppMgr.ActivityStatus.create);
AppMgr.nowAct = this;
}
@@ -53,6 +54,7 @@ public class PiztorAct extends Activity {
@Override
protected void onDestroy() {
super.onDestroy();
+ AppMgr.removeAct(this);
System.out.println(id + " on destroy");
AppMgr.setStatus(AppMgr.ActivityStatus.destroy);
}