Integrate IMS single registration feature into APIs

1) Check to ensure IMS single registration feature is enabled
for a device before allowing a SIP delegate to be created.
2) Check to ensure IMS single registration feature is enabled
and communicate this state back to RCS applications in
provisioning code.
3) Add the ability to temporarily enable support for this feature
for CTS testing.

Bug: 173715911
Test: atest CtsTelephonyTestCases TeleServiceTests
Change-Id: I975669af2f8606ae9f42c93df1df102a18bb1933
diff --git a/src/com/android/phone/PhoneInterfaceManager.java b/src/com/android/phone/PhoneInterfaceManager.java
index 486021d..f1be951 100755
--- a/src/com/android/phone/PhoneInterfaceManager.java
+++ b/src/com/android/phone/PhoneInterfaceManager.java
@@ -9757,6 +9757,7 @@
         Boolean enabled = "NULL".equalsIgnoreCase(enabledStr) ? null
                 : Boolean.parseBoolean(enabledStr);
         RcsProvisioningMonitor.getInstance().overrideDeviceSingleRegistrationEnabled(enabled);
+        mApp.imsRcsController.setDeviceSingleRegistrationSupportOverride(enabled);
     }
 
     /**