summaryrefslogtreecommitdiffstats
path: root/services/jni
diff options
context:
space:
mode:
authorMike Lockwood <lockwood@google.com>2010-10-18 15:20:31 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2010-10-18 15:20:31 -0700
commit8333d59133da8e56cfb5465c767e89c61ede28bc (patch)
tree91be58e0d36964f98f1bb2064f2dab3d84f4a6f5 /services/jni
parentf2c406030874b355ca9e4e67cc0e3aff6103c23e (diff)
parent5d5a9db514a9cf42fbc189fc3af6da602d89b747 (diff)
downloadframeworks_base-8333d59133da8e56cfb5465c767e89c61ede28bc.zip
frameworks_base-8333d59133da8e56cfb5465c767e89c61ede28bc.tar.gz
frameworks_base-8333d59133da8e56cfb5465c767e89c61ede28bc.tar.bz2
am 5d5a9db5: Merge "GPS: Enable some more logging" into gingerbread
Merge commit '5d5a9db514a9cf42fbc189fc3af6da602d89b747' into gingerbread-plus-aosp * commit '5d5a9db514a9cf42fbc189fc3af6da602d89b747': GPS: Enable some more logging
Diffstat (limited to 'services/jni')
-rwxr-xr-xservices/jni/com_android_server_location_GpsLocationProvider.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/services/jni/com_android_server_location_GpsLocationProvider.cpp b/services/jni/com_android_server_location_GpsLocationProvider.cpp
index 1d93f82..f5e17f5 100755
--- a/services/jni/com_android_server_location_GpsLocationProvider.cpp
+++ b/services/jni/com_android_server_location_GpsLocationProvider.cpp
@@ -16,7 +16,7 @@
#define LOG_TAG "GpsLocationProvider"
-//#define LOG_NDEBUG 0
+#define LOG_NDEBUG 0
#include "JNIHelp.h"
#include "jni.h"
@@ -106,6 +106,7 @@ static void nmea_callback(GpsUtcTime timestamp, const char* nmea, int length)
static void set_capabilities_callback(uint32_t capabilities)
{
+ LOGD("set_capabilities_callback: %ld\n", capabilities);
JNIEnv* env = AndroidRuntime::getJNIEnv();
env->CallVoidMethod(mCallbacksObj, method_setEngineCapabilities, capabilities);
checkAndClearExceptionFromCallback(env, __FUNCTION__);