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
All Methods Instance Methods Concrete Methods 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()
-
-
-
Method Detail
-
addAvailableRollbacks
public void addAvailableRollbacks(android.content.rollback.RollbackInfo rollbackInfo)
-
addRecentlyCommittedRollbacks
public void addRecentlyCommittedRollbacks(android.content.rollback.RollbackInfo rollbackInfo)
-
getAvailableRollbacks
@Implementation protected List<android.content.rollback.RollbackInfo> getAvailableRollbacks()
-
getRecentlyCommittedRollbacks
@Implementation protected List<android.content.rollback.RollbackInfo> getRecentlyCommittedRollbacks()
-
-