Package org.robolectric.shadows
Class ShadowTelephony.ShadowSms
java.lang.Object
org.robolectric.shadows.ShadowTelephony.ShadowSms
- Enclosing class:
- ShadowTelephony
@Implements(android.provider.Telephony.Sms.class)
public static class ShadowTelephony.ShadowSms
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static String
getDefaultSmsPackage
(Context context) static void
reset()
static void
setDefaultSmsPackage
(String defaultSmsPackage) Override the package name returned from callingTelephony.Sms.getDefaultSmsPackage(Context)
.
-
Constructor Details
-
ShadowSms
public ShadowSms()
-
-
Method Details
-
getDefaultSmsPackage
-
setDefaultSmsPackage
Override the package name returned from callingTelephony.Sms.getDefaultSmsPackage(Context)
.This will be reset for the next test.
-
reset
-