Class ShadowBackupManager

java.lang.Object
org.robolectric.shadows.ShadowBackupManager

@Implements(android.app.backup.BackupManager.class) public class ShadowBackupManager extends Object
A stub implementation of BackupManager that instead of connecting to a real backup transport and performing restores, stores which packages are restored from which backup set, and can be verified using methods on the shadow like getPackageRestoreToken(String).
  • Constructor Details

    • ShadowBackupManager

      public ShadowBackupManager()
  • Method Details