统一日志管理
This commit is contained in:
@@ -73,6 +73,10 @@ public class CaptureFragment extends Fragment implements OnCaptureCallback {
|
||||
ivTorch = mRootView.findViewById(ivTorchId);
|
||||
ivTorch.setVisibility(View.INVISIBLE);
|
||||
}
|
||||
initCaptureHelper();
|
||||
}
|
||||
|
||||
public void initCaptureHelper(){
|
||||
mCaptureHelper = new CaptureHelper(this,surfaceView,viewfinderView,ivTorch);
|
||||
mCaptureHelper.setOnCaptureCallback(this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user