Merge "Add TelephonyManager test hidden API for testing"

This commit is contained in:
Shuo Qian
2020-11-13 08:34:37 +00:00
committed by Gerrit Code Review

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