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
Constructors Constructor Description ShadowRollbackManager()
-
Method Summary
Modifier and Type Method Description void
addAvailableRollbacks(android.content.rollback.RollbackInfo rollbackInfo)
void
addRecentlyCommittedRollbacks(android.content.rollback.RollbackInfo rollbackInfo)
protected List<android.content.rollback.RollbackInfo>
getAvailableRollbacks()
protected List<android.content.rollback.RollbackInfo>
getRecentlyCommittedRollbacks()
-
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()
-