OSDN Git Service

Don't crash during full backup when CheckJNI is enabled
authorChristopher Tate <ctate@google.com>
Fri, 23 Sep 2011 20:12:49 +0000 (13:12 -0700)
committerChristopher Tate <ctate@google.com>
Fri, 23 Sep 2011 20:12:49 +0000 (13:12 -0700)
commitca1605e6e342a8e17859daf03bd23fdad1ad83a0
tree9b4f184e1849ac655e9c2925b82a70dcd350f314
parent904fb9d79cc72879e4c6767c219ec78feda8e62b
Don't crash during full backup when CheckJNI is enabled

It's not okay to pass null to JNI methods and trust that it will just
back off and return a null result cleanly.  Fixes bug 5361822 .

Change-Id: Id8a17b958fd183d55cb6475f394e158c13aae2ea
core/jni/android_app_backup_FullBackup.cpp