修复美颜被注释的问题

This commit is contained in:
老皮 2024-09-28 10:05:10 +08:00
parent 55bc6f917f
commit f52d7452f0

View File

@ -215,14 +215,14 @@ public class LiveSwAnchorActivity extends LiveActivity implements LiveFunctionCl
super.main(); super.main();
Bus.getOn(this); Bus.getOn(this);
Intent intent = getIntent(); Intent intent = getIntent();
/* if(CommonAppConfig.IS_GOOGLE_PLAY == 0){ if(CommonAppConfig.IS_GOOGLE_PLAY == 0){
// 美颜SO设置 // 美颜SO设置
File file_FaceUnity = new File(mContext.getDir("lib", Context.MODE_PRIVATE).getAbsoluteFile(), com.yunbao.common.Constants.DOWNLOAD_FaceUnity_SO + File.separator + Build.CPU_ABI); File file_FaceUnity = new File(mContext.getDir("lib", Context.MODE_PRIVATE).getAbsoluteFile(), com.yunbao.common.Constants.DOWNLOAD_FaceUnity_SO + File.separator + Build.CPU_ABI);
faceunity.LoadConfig.loadLibrary(file_FaceUnity.getAbsolutePath()); faceunity.LoadConfig.loadLibrary(file_FaceUnity.getAbsolutePath());
Log.i("downLoad", "美颜SO Path = " + file_FaceUnity.getAbsolutePath()); Log.i("downLoad", "美颜SO Path = " + file_FaceUnity.getAbsolutePath());
}*/ }
// initFaceManager(); initFaceManager();
leave_img = findViewById(R.id.leave_img); leave_img = findViewById(R.id.leave_img);
mLiveSDK = intent.getIntExtra(Constants.LIVE_SDK, Constants.LIVE_SDK_KSY); mLiveSDK = intent.getIntExtra(Constants.LIVE_SDK, Constants.LIVE_SDK_KSY);
if (mLiveSDK == Constants.LIVE_SDK_SW) { if (mLiveSDK == Constants.LIVE_SDK_SW) {