Completely detach old data stack
Not create DcTracker and TransportManager instances
when new data stack is enabled.
Test: atest FrameworksTelephonyTests and manually tested on
Pixel 4 and Pixel 6.
Bug: 222323544
Merged-In: Ie5a600eeca123c15845cedeb4dded4792752ea93
Change-Id: Ie5a600eeca123c15845cedeb4dded4792752ea93
diff --git a/src/com/android/phone/PhoneInterfaceManager.java b/src/com/android/phone/PhoneInterfaceManager.java
index 077c2a1..cd1b219 100755
--- a/src/com/android/phone/PhoneInterfaceManager.java
+++ b/src/com/android/phone/PhoneInterfaceManager.java
@@ -5672,22 +5672,6 @@
return false;
}
- public String[] getPcscfAddress(String apnType, String callingPackage,
- String callingFeatureId) {
- final Phone defaultPhone = getDefaultPhone();
- if (!TelephonyPermissions.checkCallingOrSelfReadPhoneState(mApp, defaultPhone.getSubId(),
- callingPackage, callingFeatureId, "getPcscfAddress")) {
- return new String[0];
- }
-
- final long identity = Binder.clearCallingIdentity();
- try {
- return defaultPhone.getPcscfAddress(apnType);
- } finally {
- Binder.restoreCallingIdentity(identity);
- }
- }
-
/**
* Toggle IMS disable and enable for the framework to reset it. See {@link #enableIms(int)} and
* {@link #disableIms(int)}.