protected void onPause() { // TODO Auto-generated method stub super.onPause(); if (!toLogin) { sensor.stopAction(); } }
/** * 机选投注调用函数 * * @param string 显示框信息 * @return */ public void alert_jixuan() { sensor.stopAction(); buyImplement.touzhuNet(); // 投注类型和彩种 setZhuShu(balls.size()); toLogin = true; isGift = false; isJoin = false; isTouzhu = true; if (touZhuDialog == null) { initTouZhuDialog(); } else { initAlerDialog(); } touZhuDialog.setOnDismissListener( new OnDismissListener() { @Override public void onDismiss(DialogInterface dialog) { // TODO Auto-generated method stub sensor.startAction(); } }); }