commit | 2d449afe3d075020bdd1115bcc15c9383cbce122 | [log] [tgz] |
---|---|---|
author | Christopher Tate <ctate@google.com> | Mon Mar 29 19:14:24 2010 -0700 |
committer | Christopher Tate <ctate@google.com> | Tue Mar 30 12:42:35 2010 -0700 |
tree | d7c71c9a74e317319de947f3e3fe3ee673f0c559 | |
parent | ae405d56215e4ab43e8210b66e741a0bf9d5edcf [diff] |
Make RestoreSession.getAvailableRestoreSets() asynchronous This transaction can involve the transport having to query a remote backend over the wire, so it can take a Long Time(tm). Make it main-thread-safe by making it asynchronous, with the results passed as a callback to the invoker's RestoreObserver. We also make the IRestoreObserver callback interface properly oneway. Bug #2550665 Bug #2549422 Change-Id: If18a233a0a3d54c7b55101715c9e6195b762c5a0