onCreate & onStart & onResume & onStop & onPause & onDestroy & onRestart & onWindowFocusChanged
一.函数调用情形1.启动游戏onCreateonStartonResumeonWindowFocusChanged2.锁屏(已启动游戏)onPauseonStoponWindowFocusChanged3.开锁(已启动游戏)onRestartonStartonReumeonWindowFocusChanged4.home键(已启动游戏)onPauseonWindowFocusChangedonSt