summaryrefslogtreecommitdiffstats
path: root/service/jni/jni_helper.cpp
diff options
context:
space:
mode:
authorxinhe <xinhe@google.com>2015-07-07 17:41:26 -0700
committerxinhe <xinhe@google.com>2015-07-07 17:41:26 -0700
commit9c86caa1a83f9d9c42faacc151341a09c5e538a4 (patch)
tree5bfa38e7b0e560c31c9bdba03b6a1905b16ea904 /service/jni/jni_helper.cpp
parentb9766f51bcbd50f178d2c20d61f3d631c699b836 (diff)
downloadandroid_frameworks_opt_net_wifi-9c86caa1a83f9d9c42faacc151341a09c5e538a4.tar.gz
android_frameworks_opt_net_wifi-9c86caa1a83f9d9c42faacc151341a09c5e538a4.tar.bz2
android_frameworks_opt_net_wifi-9c86caa1a83f9d9c42faacc151341a09c5e538a4.zip
AUPT: NCs in system_server caused runtime restart
b/22322272 Change-Id: If4eb9dd3fcefeef2ab26f991e8ee5dd8947a2837
Diffstat (limited to 'service/jni/jni_helper.cpp')
-rw-r--r--service/jni/jni_helper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/jni/jni_helper.cpp b/service/jni/jni_helper.cpp
index 1463e4675..e3965137d 100644
--- a/service/jni/jni_helper.cpp
+++ b/service/jni/jni_helper.cpp
@@ -436,7 +436,7 @@ void reportEvent(JNIEnv *env, jclass cls, const char *method, const char *signat
va_start(params, signature);
jmethodID methodID = env->GetStaticMethodID(cls, method, signature);
- if (method == NULL) {
+ if (methodID == NULL) {
ALOGE("Error in getting method ID");
return;
}