From 09460a92702c5407c5ddf1e6576391568685006d Mon Sep 17 00:00:00 2001 From: Eugene Crosser Date: Sun, 5 Feb 2012 22:57:07 +0400 Subject: [PATCH] switch to CallTrack log format --- src/org/average/whereami/PhoneLog.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/org/average/whereami/PhoneLog.java b/src/org/average/whereami/PhoneLog.java index 00de545..74bb9eb 100644 --- a/src/org/average/whereami/PhoneLog.java +++ b/src/org/average/whereami/PhoneLog.java @@ -154,13 +154,13 @@ public final class PhoneLog extends Oracle { Log.v(TAG, "event " + evStart + " - " + evStop + " : \"" + evSummary + "\""); - if ((evSummary.startsWith("Called ") || - evSummary.startsWith("Call from ")) && + if ((evSummary.startsWith("Call To ") || + evSummary.startsWith("Call From ")) && evStart > latestStartTime) { latestStartTime = evStart; latestStopTime = evStop; latestWasOutgoing = evSummary - .startsWith("Called "); + .startsWith("Call To "); wasFound = true; } } -- 2.43.0