diff options
| author | 2020-11-06 23:26:52 +0000 | |
|---|---|---|
| committer | 2020-11-06 23:26:52 +0000 | |
| commit | 327ff53a39035e37d287e88bc008772dcafd6f79 (patch) | |
| tree | ea7a5457aa143602d8a63da743eccb38d252802c | |
| parent | 7ffec60c699aad8bd5fb28bdcea37c178fe8e578 (diff) | |
| parent | 53cfc4a8944c491934973d47f8c4503a5644b8ed (diff) | |
Merge "Add TelephonyManager test hidden API for testing"
| -rw-r--r-- | telephony/java/android/telephony/TelephonyManager.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/telephony/java/android/telephony/TelephonyManager.java b/telephony/java/android/telephony/TelephonyManager.java index 425addc70dae..89d24cb8b2a6 100644 --- a/telephony/java/android/telephony/TelephonyManager.java +++ b/telephony/java/android/telephony/TelephonyManager.java @@ -13974,6 +13974,15 @@ public class TelephonyManager { } /** + * 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 * TODO b/153669716: remove or make system API. |