Note that configureZoom() is being called before the camera is actually set to use that preview size.

When you tested the gecko patch that was supposed to return the maximum zoom, are you sure you were calling it after setting the preview size?