diff options
-rw-r--r-- | src/com/android/contacts/incall/InCallMetricsHelper.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/com/android/contacts/incall/InCallMetricsHelper.java b/src/com/android/contacts/incall/InCallMetricsHelper.java index 1dcff3871..b22214114 100644 --- a/src/com/android/contacts/incall/InCallMetricsHelper.java +++ b/src/com/android/contacts/incall/InCallMetricsHelper.java @@ -252,7 +252,7 @@ public class InCallMetricsHelper { map.put(Parameters.COUNT, cv.getAsInteger(Parameters.COUNT.toCol())); map.put(Parameters.NUDGE_ID, cv.getAsString(Parameters.NUDGE_ID.toCol())); map.put(Parameters.EVENT_ACCEPTANCE_TIME, - cv.getAsInteger(Parameters.EVENT_ACCEPTANCE_TIME.toCol())); + cv.getAsLong(Parameters.EVENT_ACCEPTANCE_TIME.toCol())); map.put(Parameters.EVENT_ACCEPTANCE, cv.getAsInteger(Parameters.EVENT_ACCEPTANCE.toCol()) == 0 ? Boolean.FALSE : Boolean.TRUE); @@ -276,6 +276,9 @@ public class InCallMetricsHelper { default: break; } + if (DEBUG) { + Log.d(TAG, event.value() + ": " + map.toString()); + } return map; } |