Initial commit of basic call logging code in Telecomm
Add CallLogAsync and CallLogger helper classes, and populate
CallLogManager with initial skeleton code that will add call log
entries for failed outgoing calls and disconnected calls.
Change-Id: Iead39702c6b271a6449f7840162efde655dd1965
diff --git a/src/com/android/telecomm/Call.java b/src/com/android/telecomm/Call.java
index f40d4ea..cb74533 100644
--- a/src/com/android/telecomm/Call.java
+++ b/src/com/android/telecomm/Call.java
@@ -132,6 +132,14 @@
return new Date().getTime() - mCreationTime.getTime();
}
+ /**
+ * @return The time when this call object was created and added to the set of pending outgoing
+ * calls.
+ */
+ long getCreationTimeInMilliseconds() {
+ return mCreationTime.getTime();
+ }
+
CallServiceWrapper getCallService() {
return mCallService;
}