commit | 429a3b5f1d94327e5cbb2dc80667af4574bba388 | [log] [tgz] |
---|---|---|
author | James Dong <jdong@google.com> | Mon May 11 10:58:03 2009 -0700 |
committer | James Dong <jdong@google.com> | Mon May 11 10:58:03 2009 -0700 |
tree | 2b4576dce208cac095025f5c809a395136cb52dc | |
parent | 0efb0868841cc1c2b5a669b39880d931f54f705a [diff] |
Fix a JNI layer crash due to null camera object passed to get_native_camera() The fix will check on the camera object and if it is a null object, we throw a NullPointerException; application layer should also avoid passing a null java object to MediaRecorder.setCamera().