|
@@ -176,10 +176,6 @@ class CallingdoorActivity :BaseActivity<CallingdoorActivityPresenter, Callingdoo
|
|
zhylManager.disp_setNavigationBar(false)
|
|
zhylManager.disp_setNavigationBar(false)
|
|
zhylManager.disp_setStatusBar(false)
|
|
zhylManager.disp_setStatusBar(false)
|
|
|
|
|
|
- //麦和喇叭增益
|
|
|
|
- zhylManager.sys_setDacVolume(BaseApplication.appContext, 138)
|
|
|
|
- zhylManager.sys_setMic1gain(BaseApplication.appContext, 24)
|
|
|
|
-
|
|
|
|
//切换mic
|
|
//切换mic
|
|
if (!zhylManager.sys_getMICEnable()) {
|
|
if (!zhylManager.sys_getMICEnable()) {
|
|
zhylManager.sys_setMICEnable(true)
|
|
zhylManager.sys_setMICEnable(true)
|
|
@@ -213,8 +209,14 @@ class CallingdoorActivity :BaseActivity<CallingdoorActivityPresenter, Callingdoo
|
|
zhylManager.sys_setNationallanguage("RU", "ru")
|
|
zhylManager.sys_setNationallanguage("RU", "ru")
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ //麦和喇叭增益
|
|
|
|
+ zhylManager.sys_setDacVolume(BaseApplication.appContext, 138)
|
|
|
|
+ zhylManager.sys_setMic1gain(BaseApplication.appContext, 24)
|
|
} catch (e: Exception) {
|
|
} catch (e: Exception) {
|
|
//
|
|
//
|
|
|
|
+ } catch (e2: NoSuchMethodError) {
|
|
|
|
+ //
|
|
}
|
|
}
|
|
} else if ("rk3288".equals(Build.MODEL)) { //rk3288使用序列号注册,其他使用mac地址注册
|
|
} else if ("rk3288".equals(Build.MODEL)) { //rk3288使用序列号注册,其他使用mac地址注册
|
|
//获取设备序列号
|
|
//获取设备序列号
|