mirror of https://github.com/axmolengine/axmol.git
Modifying little log statements
This commit is contained in:
parent
56a1ba9e42
commit
c12268bd70
|
@ -45,7 +45,7 @@ public class CocosPlayer extends Cocos2dxActivity {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onStop() {
|
public void onStop() {
|
||||||
Log.i("main", "onStop CocosPlayer");
|
Log.i("CocosPlayer", "onStop");
|
||||||
CocosPlayerPresence.destroy();
|
CocosPlayerPresence.destroy();
|
||||||
super.onStop();
|
super.onStop();
|
||||||
}
|
}
|
||||||
|
@ -53,18 +53,18 @@ public class CocosPlayer extends Cocos2dxActivity {
|
||||||
@Override
|
@Override
|
||||||
public void onResume() {
|
public void onResume() {
|
||||||
CocosPlayerPresence.startPresence();
|
CocosPlayerPresence.startPresence();
|
||||||
Log.i("main", "onResume CocosPlayer");
|
Log.i("CocosPlayer", "onResume");
|
||||||
super.onResume();
|
super.onResume();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void finish() {
|
public void finish() {
|
||||||
Log.i("main", "DESTROYING 1");
|
Log.i("CocosPlayer", "onFinish");
|
||||||
CocosPlayerPresence.destroy();
|
CocosPlayerPresence.destroy();
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void onCreate(Bundle savedInstanceState) {
|
protected void onCreate(Bundle savedInstanceState) {
|
||||||
Log.i("main", "CREATING 1");
|
Log.i("CocosPlayer", "onCreate");
|
||||||
super.onCreate(savedInstanceState);
|
super.onCreate(savedInstanceState);
|
||||||
activity = ((Activity) Cocos2dxActivity.getContext());
|
activity = ((Activity) Cocos2dxActivity.getContext());
|
||||||
c = getApplicationContext();
|
c = getApplicationContext();
|
||||||
|
|
Loading…
Reference in New Issue