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
Modifier and TypeClassDescriptionstatic interface
Accessor interface forActivityThread
's internals.static interface
Accessor interface forActivityThread.AppBindData
's internals. -
Field Summary
Modifier and TypeFieldDescriptionprotected ShadowActivityThread._ActivityThread_
protected ActivityThread
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Object
protected static Application
protected Application
static Object
static Object
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
-
realActivityThread
-
activityThreadReflector
-
-
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
-