diff options
| author | 2020-11-13 09:40:08 +0000 | |
|---|---|---|
| committer | 2020-11-13 09:40:08 +0000 | |
| commit | f3781d192dbd22586a89ff7cc136bb78e14c225c (patch) | |
| tree | a56ea7be0b0d5dcb383f88a27db23838bfc1fd55 | |
| parent | dc186b4d44fc06246f1c0c454ec2ad6ef1b8e589 (diff) | |
| parent | 0f61c23c26350db14524207ed6ea77c1a916c141 (diff) | |
Merge "Add TelephonyManager test hidden API for testing" am: 5815e26b3a am: 0f61c23c26
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1496912
Change-Id: I7b711a4c447cc8655cfc56c3b09aa2a59221133d
| -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 27aadd56dac5..9243467531e1 100644 --- a/telephony/java/android/telephony/TelephonyManager.java +++ b/telephony/java/android/telephony/TelephonyManager.java @@ -13783,6 +13783,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. |