Include NewRollbacks in result of getAvailableRollbacks.

am: dc4a36105b

Change-Id: I6d45d8a2c408e4d8def25895846d6b7c3bf0de29
This commit is contained in:
Oli Lan
2019-11-25 05:35:35 -08:00
committed by android-build-merger
2 changed files with 21 additions and 25 deletions

View File

@@ -74,7 +74,10 @@ public final class RollbackManager {
}
/**
* Returns a list of all currently available rollbacks.
* Returns a list of all currently available rollbacks. This includes ones for very recently
* installed packages (even if onFinished has not yet been called). As a result, packages that
* very recently failed to install may also be included, but those rollbacks will fail with
* 'rollback not available'.
*
* @throws SecurityException if the caller does not have appropriate permissions.
*/