Adding missed call notification.
Adds a MissedCallNotifier class and a TelecommBroadcastReceiver to
receive the pending intents issued by the new notification.
Bug: 13625335
Change-Id: I51b273f3bd4ecb55e2f0e61b789f609d72086deb
diff --git a/src/com/android/telecomm/Call.java b/src/com/android/telecomm/Call.java
index f79a362..0eef378 100644
--- a/src/com/android/telecomm/Call.java
+++ b/src/com/android/telecomm/Call.java
@@ -137,7 +137,7 @@
@Override public String toString() {
return String.format(Locale.US, "[%s, %s, %s]", mState,
mCallService == null ? "<null>" : mCallService.getComponentName(),
- Log.pii(mHandle));
+ Log.piiHandle(mHandle));
}
CallState getState() {
@@ -220,7 +220,7 @@
* @return The "age" of this call object in milliseconds, which typically also represents the
* period since this call was added to the set pending outgoing calls, see mCreationTime.
*/
- long getAgeInMilliseconds() {
+ long getAgeMs() {
return new Date().getTime() - mCreationTime.getTime();
}
@@ -228,7 +228,7 @@
* @return The time when this call object was created and added to the set of pending outgoing
* calls.
*/
- long getCreationTimeInMilliseconds() {
+ long getCreationTimeMs() {
return mCreationTime.getTime();
}