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