Android OpenSL: Fixes faulty assertion in jni-code.

BUG=2452
R=fischman@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/2342004

git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@4906 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/modules/audio_device/android/audio_manager_jni.cc b/modules/audio_device/android/audio_manager_jni.cc
index b8dec2a..b04b744 100644
--- a/modules/audio_device/android/audio_manager_jni.cc
+++ b/modules/audio_device/android/audio_manager_jni.cc
@@ -25,7 +25,7 @@
     if (ret_val == JNI_EDETACHED) {
       // Attach the thread to the Java VM.
       ret_val = jvm_->AttachCurrentThread(&env_, NULL);
-      attached_ = ret_val > 0;
+      attached_ = ret_val == JNI_OK;
       assert(attached_);
     }
   }