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
This commit is contained in:
@@ -13782,6 +13782,15 @@ public class TelephonyManager {
|
|||||||
sServiceHandleCacheEnabled = true;
|
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.
|
* Whether device can connect to 5G network when two SIMs are active.
|
||||||
* @hide
|
* @hide
|
||||||
|
|||||||
Reference in New Issue
Block a user