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 ShadowActivityThread._ActivityThread_
activityThreadReflector
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()
protected void
requestRelaunchActivity(IBinder token, List<ResultInfo> pendingResults, List<com.android.internal.content.ReferrerIntent> pendingNewIntents, int configChanges, boolean notResumed, Configuration config, Configuration overrideConfig, boolean fromServer, boolean preserveWindow)
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
-
requestRelaunchActivity
@Implementation(minSdk=24, maxSdk=27) protected void requestRelaunchActivity(IBinder token, List<ResultInfo> pendingResults, List<com.android.internal.content.ReferrerIntent> pendingNewIntents, int configChanges, boolean notResumed, Configuration config, Configuration overrideConfig, boolean fromServer, boolean preserveWindow) -
setApplicationInfo
Deprecated.do not useInternal use only. -
setCompatConfiguration
internal, do not use- Parameters:
androidConfiguration
-
-
reset
-