| | |
| | | HDLLog.i(TAG, "onDestroy"); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * initView |
| | | */ |
| | | private void initView() { |
| | | tv_lp_title = findViewById(R.id.tv_lp_title); |
| | | iv_lp_screenshot = findViewById(R.id.iv_lp_screenshot); |
| | | iv_lp_screenshot.setEnabled(false); |
| | | iv_lp_unlock = findViewById(R.id.iv_lp_unlock); |
| | | iv_lp_unlock.setEnabled(false); |
| | | iv_lp_hangUp = findViewById(R.id.iv_lp_hangUp); |
| | | tv_lp_hangUp = findViewById(R.id.tv_lp_hangUp); |
| | | iv_lp_answer = findViewById(R.id.iv_lp_answer); |
| | |
| | | @Override |
| | | public void onTick(long millisUntilFinished) { |
| | | if (!HDLLinphoneReverseCallActivity.this.isFinishing()) { |
| | | |
| | | } |
| | | } |
| | | |
| | |
| | | if (HDLLinphoneKit.getInstance().getOnHDLLinphoneCallListener() != null) { |
| | | HDLLinphoneKit.getInstance().getOnHDLLinphoneCallListener().onAnswerAction(); |
| | | } |
| | | |
| | | iv_lp_screenshot.setEnabled(true); |
| | | iv_lp_unlock.setEnabled(true); |
| | | } |
| | | |
| | | /****************开锁成功********/ |
| | |
| | | int temp1 = Integer.parseInt(timer_lp_calltime.getText().toString().split(":")[1]); |
| | | return temp0 * 60 + temp1; |
| | | } |
| | | |
| | | |
| | | /****************封装常用方法********/ |
| | | /** |
| | |
| | | video_lp_rendering = null; |
| | | video_lp_rendering2 = null; |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 初始化震动器 |