562935844@qq.com
2022-06-28 a780f0b8d0ccec90d359c0c554f07d5afde9554c
HDLLinphoneSDKDemoNew/HDLLinphoneSDK/src/main/java/com/hdl/hdllinphonesdk/activity/HDLLinphoneIntercomActivity.java
@@ -140,7 +140,8 @@
        tv_lp_calltime = findViewById(R.id.tv_lp_calltime);
        setWidthHeightWithRatio(ll_video_lp_rendering, 16, 9);
        iv_lp_screenshot.setEnabled(false);
        iv_lp_unlock.setEnabled(false);
    }
    /**
@@ -212,7 +213,6 @@
            @Override
            public void onTick(long millisUntilFinished) {
                if (!HDLLinphoneIntercomActivity.this.isFinishing()) {
                }
            }
@@ -221,12 +221,9 @@
             */
            @Override
            public void onFinish() {
//                showToast("开锁onFinish");
                iv_lp_unlock.setEnabled(true);
            }
        };
//
    }
    @Override
@@ -261,7 +258,6 @@
            showToast(getString(R.string.lp_operationFailedStr));
        }
    }
    /**
     * 开锁点击事件
@@ -313,6 +309,9 @@
        if (HDLLinphoneKit.getInstance().getOnHDLLinphoneCallListener() != null) {
            HDLLinphoneKit.getInstance().getOnHDLLinphoneCallListener().onAnswerAction();
        }
        iv_lp_screenshot.setEnabled(true);
        iv_lp_unlock.setEnabled(true);
    }
    /****************开锁成功********/
@@ -419,7 +418,6 @@
        video_lp_rendering2 = null;
    }
    /**
     * 初始化震动器
     */
@@ -445,8 +443,8 @@
    /**
     * 关闭震动器
     */
    void cancelVibrator(){
        if(mVibrator != null){
    void cancelVibrator() {
        if (mVibrator != null) {
            mVibrator.cancel();
            mVibrator = null;
        }