Native crash SIGSEGV bad ptr from /system/lib/libdvm.so

This issue is caused by null pointer exception. Add safe
protection before get the byte array value. If
the value is null, return without doing anything.

Change-Id: Ib2541e111033ee9725878e88c7dbac8360027d8e
1 file changed