移除FaceUnity的日志输出
This commit is contained in:
parent
f52e10b96f
commit
a9302d3e54
@ -60,29 +60,17 @@ public class FaceManager implements SensorEventListener {
|
||||
}
|
||||
FaceUnityData.mApplication = context;
|
||||
OkHttpUtils.getInstance().init(context, false);
|
||||
FURenderManager.setCoreDebug(FULogger.LogLevel.OFF);
|
||||
FURenderManager.setKitDebug(FULogger.LogLevel.OFF);
|
||||
FURenderManager.registerFURender(context, Authpack.A(), new OperateCallback() {
|
||||
@Override
|
||||
public void onSuccess(int i, @NonNull String s) {
|
||||
FURenderer.getInstance().setup(context);
|
||||
isInit=true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onFail(int i, @NonNull String s) {
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
private FURenderer mFURenderer;
|
||||
|
||||
/**
|
||||
* 配置美颜SDK
|
||||
*/
|
||||
public void initFURender(Context context) {
|
||||
FURenderer.getInstance().setup(context);
|
||||
|
||||
mFURenderer = FURenderer.getInstance();
|
||||
mFURenderer.setInputTextureType(FUInputTextureEnum.FU_ADM_FLAG_COMMON_TEXTURE);
|
||||
mFURenderer.setCameraFacing(CameraFacingEnum.CAMERA_FRONT);
|
||||
|
@ -87,8 +87,8 @@ public class FURenderer extends IFURenderer {
|
||||
*/
|
||||
@Override
|
||||
public void setup(Context context) {
|
||||
FURenderManager.setKitDebug(FULogger.LogLevel.TRACE);
|
||||
FURenderManager.setCoreDebug(FULogger.LogLevel.DEBUG);
|
||||
FURenderManager.setKitDebug(FULogger.LogLevel.OFF);
|
||||
FURenderManager.setCoreDebug(FULogger.LogLevel.OFF);
|
||||
FURenderManager.registerFURender(context, Authpack.A(), new OperateCallback() {
|
||||
@Override
|
||||
public void onSuccess(int i, @NotNull String s) {
|
||||
|
Loading…
Reference in New Issue
Block a user