Package org.robolectric.shadows
Class ShadowRollbackManager
java.lang.Object
org.robolectric.shadows.ShadowRollbackManager
@Implements(className="android.content.rollback.RollbackManager",
minSdk=29,
isInAndroidSdk=false)
public final class ShadowRollbackManager
extends Object
A Shadow for android.content.rollback.RollbackManager added in Android Q.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAvailableRollbacks
(android.content.rollback.RollbackInfo rollbackInfo) void
addRecentlyCommittedRollbacks
(android.content.rollback.RollbackInfo rollbackInfo) protected List<android.content.rollback.RollbackInfo>
protected List<android.content.rollback.RollbackInfo>
static void
reset()
-
Constructor Details
-
ShadowRollbackManager
public ShadowRollbackManager()
-
-
Method Details
-
addAvailableRollbacks
public void addAvailableRollbacks(android.content.rollback.RollbackInfo rollbackInfo) -
addRecentlyCommittedRollbacks
public void addRecentlyCommittedRollbacks(android.content.rollback.RollbackInfo rollbackInfo) -
getAvailableRollbacks
-
getRecentlyCommittedRollbacks
@Implementation protected List<android.content.rollback.RollbackInfo> getRecentlyCommittedRollbacks() -
reset
-