diff --git a/telephony/java/android/telephony/TelephonyManager.java b/telephony/java/android/telephony/TelephonyManager.java index 27aadd56dac5d..9243467531e1c 100644 --- a/telephony/java/android/telephony/TelephonyManager.java +++ b/telephony/java/android/telephony/TelephonyManager.java @@ -13782,6 +13782,15 @@ public class TelephonyManager { sServiceHandleCacheEnabled = true; } + /** + * Setup sITelephony for testing. + * @hide + */ + @VisibleForTesting + public static void setupITelephonyForTest(ITelephony telephony) { + sITelephony = telephony; + } + /** * Whether device can connect to 5G network when two SIMs are active. * @hide