lss
2022-05-26 ff886457f58791eea4532f6167af51184d9dfe43
HDLLinphoneSDKDemoNew/HDLLinphoneSDK/src/main/java/com/hdl/hdllinphonesdk/activity/HDLLinphoneIntercomActivity.java
@@ -139,8 +139,6 @@
        timer_lp_calltime = (Chronometer) findViewById(R.id.timer_lp_calltime);
        tv_lp_calltime = findViewById(R.id.tv_lp_calltime);
        setWidthHeightWithRatio(ll_video_lp_rendering, 16, 9);
    }
    /**
@@ -261,7 +259,6 @@
            showToast(getString(R.string.lp_operationFailedStr));
        }
    }
    /**
     * 开锁点击事件
@@ -400,7 +397,9 @@
            core.setNativePreviewWindowId(video_lp_rendering2);
            // Listen for call state changes
            core.addListener(mCoreListener);
            core.enableMic(true);//开启麦克风
        }
    }
    /**
@@ -416,7 +415,6 @@
        video_lp_rendering = null;
        video_lp_rendering2 = null;
    }
    /**
     * 初始化震动器
@@ -443,8 +441,8 @@
    /**
     * 关闭震动器
     */
    void cancelVibrator(){
        if(mVibrator != null){
    void cancelVibrator() {
        if (mVibrator != null) {
            mVibrator.cancel();
            mVibrator = null;
        }