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 Change-Id: Ice595f329e2f4e531dc577cd3db7c863ba15d6d6
This commit is contained in:
@@ -8351,24 +8351,6 @@ public class TelephonyManager {
|
||||
return -1;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get P-CSCF address from PCO after data connection is established or modified.
|
||||
* @param apnType the apnType, "ims" for IMS APN, "emergency" for EMERGENCY APN
|
||||
* @return array of P-CSCF address
|
||||
* @hide
|
||||
*/
|
||||
public String[] getPcscfAddress(String apnType) {
|
||||
try {
|
||||
ITelephony telephony = getITelephony();
|
||||
if (telephony == null)
|
||||
return new String[0];
|
||||
return telephony.getPcscfAddress(apnType, getOpPackageName(), getAttributionTag());
|
||||
} catch (RemoteException e) {
|
||||
return new String[0];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Resets the {@link android.telephony.ims.ImsService} associated with the specified sim slot.
|
||||
* Used by diagnostic apps to force the IMS stack to be disabled and re-enabled in an effort to
|
||||
|
||||
@@ -977,14 +977,6 @@ interface ITelephony {
|
||||
*/
|
||||
boolean isManualNetworkSelectionAllowed(int subId);
|
||||
|
||||
/**
|
||||
* Get P-CSCF address from PCO after data connection is established or modified.
|
||||
* @param apnType the apnType, "ims" for IMS APN, "emergency" for EMERGENCY APN
|
||||
* @param callingPackage The package making the call.
|
||||
* @param callingFeatureId The feature in the package.
|
||||
*/
|
||||
String[] getPcscfAddress(String apnType, String callingPackage, String callingFeatureId);
|
||||
|
||||
/**
|
||||
* Set IMS registration state
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user