@Override
    public void onSaveInstanceState(Bundle outState) {
        super.onSaveInstanceState(outState);
        if (mCameraPicker != null) {
            mCameraPicker.onSaveInstanceState(outState);
        }
        outState.putParcelable(Boxing.EXTRA_CONFIG, BoxingManager.getInstance().getBoxingConfig());
    }
set or update the config.most of the time, you do not have to call it.

@param config {@link BoxingConfig}
boxing/src/main/java/com/bilibili/boxing/AbsBoxingViewFragment.java