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