OSDN Git Service

Fixed a native crash due to deref of a NULL pointer
authorJames Dong <jdong@google.com>
Fri, 14 Sep 2012 22:34:35 +0000 (15:34 -0700)
committerJames Dong <jdong@google.com>
Fri, 14 Sep 2012 22:34:35 +0000 (15:34 -0700)
commit376074ed1c3c368aeb336954a07632cd806288e2
tree0e3fed53f5ab460e1a65a18a8826af1deea0267f
parentb845c6b0c3066d6791973be830f0953477461a65
Fixed a native crash due to deref of a NULL pointer

We only checked the mNativeWindow against NULL, but did not check the native window object itself against NULL.

o related-to-bug: 7153683

Change-Id: I430d344dc09a2fc337bf51001551627056713773
media/libmediaplayerservice/nuplayer/NuPlayer.cpp