Remove LAST_FORWARDED_NUMBER reporting.
This code was removed in the past and managed to get re-introduced in
error due a strange merge/cherry-pick issue.
The current implementation of this does not work properly since the
history info comes in as a bunch of SIP URIs.
Test: Build/compile
Bug: 79699229
Change-Id: I9cf19115ea3fe1b270c703fa4333c834ac088a2a
diff --git a/src/com/android/services/telephony/TelephonyConnection.java b/src/com/android/services/telephony/TelephonyConnection.java
index f7d1747..e80a06e 100644
--- a/src/com/android/services/telephony/TelephonyConnection.java
+++ b/src/com/android/services/telephony/TelephonyConnection.java
@@ -162,15 +162,6 @@
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);
- }
handleSuppServiceNotification(mSsNotification);
}
}