resolve merge conflicts of 80ccafe55 to stage-aosp-master
Change-Id: I8a6be1825cb4398a2b4b59595c987dadc1ebb6bc
diff --git a/src/com/android/services/telephony/TelephonyConnection.java b/src/com/android/services/telephony/TelephonyConnection.java
index 4fc45cb..4c8f8c1 100644
--- a/src/com/android/services/telephony/TelephonyConnection.java
+++ b/src/com/android/services/telephony/TelephonyConnection.java
@@ -159,6 +159,15 @@
mSsNotification =
(SuppServiceNotification)((AsyncResult) msg.obj).result;
if (mOriginalConnection != null) {
+ if (mSsNotification.history != null) {
+ Bundle lastForwardedNumber = new Bundle();
+ Log.v(TelephonyConnection.this,
+ "Updating call history info in extras.");
+ lastForwardedNumber.putStringArrayList(
+ Connection.EXTRA_LAST_FORWARDED_NUMBER,
+ new ArrayList(Arrays.asList(mSsNotification.history)));
+ putExtras(lastForwardedNumber);
+ }
if (mSsNotification.code
== SuppServiceNotification.MO_CODE_CALL_FORWARDED) {
sendConnectionEvent(TelephonyManager.EVENT_CALL_FORWARDED, null);