Loading services/core/java/com/android/server/location/contexthub/ContextHubEventLogger.java +2 −11 Original line number Diff line number Diff line Loading @@ -325,12 +325,8 @@ public class ContextHubEventLogger { } } /** * Creates a string representation of the logged events * * @return the dumped events */ public synchronized String dump() { @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("Nanoapp Loads:"); sb.append(System.lineSeparator()); Loading Loading @@ -368,9 +364,4 @@ public class ContextHubEventLogger { } return sb.toString(); } @Override public String toString() { return dump(); } } services/core/java/com/android/server/location/contexthub/ContextHubService.java +1 −1 Original line number Diff line number Diff line Loading @@ -1054,7 +1054,7 @@ public class ContextHubService extends IContextHubService.Stub { pw.println(""); pw.println("=================== EVENTS ===================="); pw.println(ContextHubEventLogger.getInstance().dump()); pw.println(ContextHubEventLogger.getInstance()); // dump eventLog } Loading Loading
services/core/java/com/android/server/location/contexthub/ContextHubEventLogger.java +2 −11 Original line number Diff line number Diff line Loading @@ -325,12 +325,8 @@ public class ContextHubEventLogger { } } /** * Creates a string representation of the logged events * * @return the dumped events */ public synchronized String dump() { @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("Nanoapp Loads:"); sb.append(System.lineSeparator()); Loading Loading @@ -368,9 +364,4 @@ public class ContextHubEventLogger { } return sb.toString(); } @Override public String toString() { return dump(); } }
services/core/java/com/android/server/location/contexthub/ContextHubService.java +1 −1 Original line number Diff line number Diff line Loading @@ -1054,7 +1054,7 @@ public class ContextHubService extends IContextHubService.Stub { pw.println(""); pw.println("=================== EVENTS ===================="); pw.println(ContextHubEventLogger.getInstance().dump()); pw.println(ContextHubEventLogger.getInstance()); // dump eventLog } Loading