diff options
author | Christopher Tate <ctate@google.com> | 2010-06-24 15:58:01 -0700 |
---|---|---|
committer | Christopher Tate <ctate@google.com> | 2010-06-24 15:58:01 -0700 |
commit | 2950555aac546cd95b7ae268b5851895e1289ec2 (patch) | |
tree | 7850e469209374754bb170768fa3af0679f55c3a /services/java | |
parent | 753e56090ed5acc0d2173a8e9ab1a9b96528720b (diff) | |
download | frameworks_base-2950555aac546cd95b7ae268b5851895e1289ec2.zip frameworks_base-2950555aac546cd95b7ae268b5851895e1289ec2.tar.gz frameworks_base-2950555aac546cd95b7ae268b5851895e1289ec2.tar.bz2 |
Properly note the current active restore set's token
Bug: 2796780
Change-Id: Iad601ed96ae73cf34910a276350712e6af19bb4e
Diffstat (limited to 'services/java')
-rw-r--r-- | services/java/com/android/server/BackupManagerService.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/java/com/android/server/BackupManagerService.java b/services/java/com/android/server/BackupManagerService.java index d67dde0..6e307a5 100644 --- a/services/java/com/android/server/BackupManagerService.java +++ b/services/java/com/android/server/BackupManagerService.java @@ -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 */ } |