The accuracy of WebView scale is less than density scale's one
The scale returned by getScale() is calculated as below; - scale = (int)(100 * density) - scale = scale/100.0f So the scale is reduced its accuracy less than second decimal. Therefore assertion should has delta 0.01f. Change-Id: Ic5511e66a75d6e5dbc7dccec392b4a7e1b98e59b
Loading
Please sign in to comment