summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Porter <mporter@konsulko.com>2018-06-25 15:18:23 -0400
committerMatt Porter <mporter@konsulko.com>2018-06-25 15:18:23 -0400
commit82dc532eea611ea203ca2c3ee94db7056d941d61 (patch)
tree14719567e17129ef61e98674d29576ed36f62ac6
parent677eb7cc1bd06058e2ac7478f6c5d3a6af4a53dc (diff)
Refresh the recent call list at the end of each call
Show the most recent call list entries by refreshing the call list using telephony call status notifications. Refresh the recent call list whenever a call is disconnected. The PBAP call history on the mobile device is updated on call disconnect (any time it transitions from incoming/dialed/active to disconnected) Bug-AGL: SPEC-1436 Change-Id: If09d0b8ee2461e4859fa543c99b9321a3cfb3af7 Signed-off-by: Matt Porter <mporter@konsulko.com>
-rw-r--r--app/Dialer.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/Dialer.qml b/app/Dialer.qml
index d88ddcc..97bfcc1 100644
--- a/app/Dialer.qml
+++ b/app/Dialer.qml
@@ -50,6 +50,7 @@ Item {
} else if (telephony.callState == "active") {
rejectButton.active = false
} else if (telephony.callState == "disconnected") {
+ pbap.refreshCalls(100);
rejectButton.active = false
callButton.checked = false
callStateLabel.text = ""