DescriptionFix 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
Committed: https://crrev.com/f3c57f9b4bb6c0e899a80737244ba1783b6691d2
Cr-Commit-Position: refs/heads/master@{#300578}
Patch Set 1 #
Total comments: 2
Patch Set 2 : nits #
Messages
Total messages: 16 (6 generated)
|