Fix a crash when cameraInfo is NULL
It is possible that cameraInfo returns NULL. However, the NULL case is not well handled and it will cause crashes. This change also removed the unncessary JNI call to convert an int to string BUG=424775 Review URL: https://codereview.chromium.org/667433003 Cr-Commit-Position: refs/heads/master@{#300578}
Showing
Please register or sign in to comment