@Implements(value=android.provider.Telephony.Sms.class, minSdk=19) public static class ShadowTelephony.ShadowSms extends java.lang.Object
Constructor and Description |
---|
ShadowSms() |
Modifier and Type | Method and Description |
---|---|
protected static java.lang.String |
getDefaultSmsPackage(android.content.Context context) |
static void |
reset() |
static void |
setDefaultSmsPackage(java.lang.String defaultSmsPackage)
Override the package name returned from calling
Telephony.Sms.getDefaultSmsPackage(Context) . |
@Implementation protected static java.lang.String getDefaultSmsPackage(android.content.Context context)
public static void setDefaultSmsPackage(java.lang.String defaultSmsPackage)
Override the package name returned from calling Telephony.Sms.getDefaultSmsPackage(Context)
.
This will be reset for the next test.
@Resetter public static void reset()