Merge "Add TelephonyManager test hidden API for testing" am: 5815e26b3a

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1496912

Change-Id: I2aa3032c8d6a295ea72525c6013bcf833b563625
This commit is contained in:
Shuo Qian
2020-11-13 09:03:31 +00:00
committed by Automerger Merge Worker

View File

@@ -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