|
@@ -153,8 +153,8 @@ public class MainFragmentActivity extends FragmentActivity implements IVvsipServ
|
|
|
@Bind(R.id.activity_main_layout_tv_version)
|
|
|
TextView tvVersion;
|
|
|
|
|
|
- //@Bind(R.id.activity_main_layout_tv_current_time)
|
|
|
- //TextView tvCurrentTime;
|
|
|
+ @Bind(R.id.activity_main_layout_tv_current_time)
|
|
|
+ TextView tvCurrentTime;
|
|
|
@Bind(R.id.activity_main_layout_tv_sip_state)
|
|
|
TextView tvSipState;
|
|
|
|
|
@@ -220,9 +220,9 @@ public class MainFragmentActivity extends FragmentActivity implements IVvsipServ
|
|
|
try {
|
|
|
//检测网络状态
|
|
|
//checkNetWorkStatus();
|
|
|
- //tvCurrentTime.setText(TimeUtil.getInstance().getDataTime());
|
|
|
+ tvCurrentTime.setText(TimeUtil.getInstance().getDataTime());
|
|
|
} catch (NullPointerException e) {
|
|
|
- //LogUtil.e("tvCurrentTime: ", tvCurrentTime + "");
|
|
|
+ LogUtil.e("tvCurrentTime: ", tvCurrentTime + "");
|
|
|
}
|
|
|
break;
|
|
|
}
|
|
@@ -320,8 +320,8 @@ public class MainFragmentActivity extends FragmentActivity implements IVvsipServ
|
|
|
Constants.CALL_STATE = Constants.STANDBY;
|
|
|
|
|
|
//初始化时间
|
|
|
- //timeThread = new TimeThread();
|
|
|
- //timeThread.start();
|
|
|
+ timeThread = new TimeThread();
|
|
|
+ timeThread.start();
|
|
|
|
|
|
appCheckUpdate();
|
|
|
}
|