Package org.robolectric.shadows
Class ShadowActivityThread
java.lang.Object
org.robolectric.shadows.ShadowActivityThread
@Implements(value=android.app.ActivityThread.class, isInAndroidSdk=false, looseSignatures=true) public class ShadowActivityThread extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ShadowActivityThread._ActivityThread_
Accessor interface forActivityThread
's internals.static interface
ShadowActivityThread._AppBindData_
Accessor interface forActivityThread.AppBindData
's internals. -
Field Summary
Fields Modifier and Type Field Description protected ActivityThread
realActivityThread
-
Constructor Summary
Constructors Constructor Description ShadowActivityThread()
-
Method Summary
Modifier and Type Method Description static Object
currentActivityThread()
protected static Application
currentApplication()
protected Application
getApplication()
static Object
getPackageManager()
static Object
getPermissionManager()
static void
reset()
static void
setApplicationInfo(ApplicationInfo applicationInfo)
Deprecated.do not usevoid
setCompatConfiguration(Configuration androidConfiguration)
internal, do not use
-
Field Details
-
Constructor Details
-
ShadowActivityThread
public ShadowActivityThread()
-
-
Method Details
-
getPackageManager
-
currentActivityThread
-
currentApplication
-
getApplication
-
getPermissionManager
-
setApplicationInfo
Deprecated.do not useInternal use only. -
setCompatConfiguration
internal, do not use- Parameters:
androidConfiguration
-
-
reset
-