summaryrefslogtreecommitdiffstats
path: root/services/jni
diff options
context:
space:
mode:
authorMike Lockwood <lockwood@google.com>2010-10-19 09:55:45 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2010-10-19 09:55:45 -0700
commit0bc1f39643a8434d855c3166b17fcece2e7050dc (patch)
tree901578a2361a437c9f429debf29cd1ccb68725b5 /services/jni
parentb8b200d10847dd91bcff7a576e401d7d21fff696 (diff)
parent8333d59133da8e56cfb5465c767e89c61ede28bc (diff)
downloadframeworks_base-0bc1f39643a8434d855c3166b17fcece2e7050dc.zip
frameworks_base-0bc1f39643a8434d855c3166b17fcece2e7050dc.tar.gz
frameworks_base-0bc1f39643a8434d855c3166b17fcece2e7050dc.tar.bz2
am 8333d591: am 5d5a9db5: Merge "GPS: Enable some more logging" into gingerbread
Merge commit '8333d59133da8e56cfb5465c767e89c61ede28bc' * commit '8333d59133da8e56cfb5465c767e89c61ede28bc': 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__);