Find the key logic inside your Android apps.
Recent revisions are kept. Restoring one creates a new revision.