When a new picture is received, the min zoom scale is set. One of the many choices divides by draw.mMinPrefWidth, even if it is zero. Add a check to require it to be greater than zero before using it as a ratio component. fixes http://b/issue?id=2138786