]> average.org Git - WhereAmI.git/commitdiff
switch to CallTrack log format
authorEugene Crosser <crosser@average.org>
Sun, 5 Feb 2012 18:57:07 +0000 (22:57 +0400)
committerEugene Crosser <crosser@average.org>
Sun, 5 Feb 2012 18:57:07 +0000 (22:57 +0400)
src/org/average/whereami/PhoneLog.java

index 00de54578c712e35b2674c8811022a38afcfc579..74bb9ebebe264e10c2bc7cec8fc277f3db67bd9b 100644 (file)
@@ -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;
                                }
                        }