private Bundle packSettings() { Bundle params = new Bundle(); params.putInt(QUALITY, quality.getId()); params.putInt(RATIO, ratio.getId()); params.putInt(FOCUS_MODE, focusMode.getId()); params.putInt(HDR_MODE, hdrMode.getId()); return params; }