am 5827d3ea
: Merge "Properly note the current active restore set\'s token" into froyo
Merge commit '5827d3eaf3c53d1dc3ab0d638d935c219a5515a6' into gingerbread * commit '5827d3eaf3c53d1dc3ab0d638d935c219a5515a6': Properly note the current active restore set's token
This commit is contained in:
@ -1313,7 +1313,7 @@ class BackupManagerService extends IBackupManager.Stub {
|
||||
// If everything actually went through and this is the first time we've
|
||||
// done a backup, we can now record what the current backup dataset token
|
||||
// is.
|
||||
if ((mCurrentToken == 0) && (status != BackupConstants.TRANSPORT_OK)) {
|
||||
if ((mCurrentToken == 0) && (status == BackupConstants.TRANSPORT_OK)) {
|
||||
try {
|
||||
mCurrentToken = mTransport.getCurrentRestoreSet();
|
||||
} catch (RemoteException e) { /* cannot happen */ }
|
||||
|
Reference in New Issue
Block a user