@Implements(value=android.telephony.CarrierConfigManager.class, minSdk=23) public class ShadowCarrierConfigManager extends java.lang.Object
Constructor and Description |
---|
ShadowCarrierConfigManager() |
Modifier and Type | Method and Description |
---|---|
protected android.os.PersistableBundle |
getConfigForSubId(int subId)
Returns
PersistableBundle previously set by #setConfigForSubId(int) , or default values for an invalid subId . |
void |
setConfigForSubId(int subId,
android.os.PersistableBundle config)
Sets that the
config PersistableBundle for a particular subId ; controls the return value of CarrierConfigManager#getConfigForSubId() . |
@Implementation protected android.os.PersistableBundle getConfigForSubId(int subId)
Returns PersistableBundle
previously set by #setConfigForSubId(int)
, or default values for an invalid subId
.
public void setConfigForSubId(int subId, android.os.PersistableBundle config)
Sets that the config
PersistableBundle for a particular subId
; controls the return value of CarrierConfigManager#getConfigForSubId()
.