Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ad716e42 authored by Christopher Tate's avatar Christopher Tate Committed by Android Git Automerger
Browse files

am 2aa1d18e: Fix bug 17931760 - spurious timeout leads to mayhem

* commit '2aa1d18e':
  Fix bug 17931760 - spurious timeout leads to mayhem
parents a2830b7d 2aa1d18e
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -2415,6 +2415,11 @@ public class BackupManagerService extends IBackupManager.Stub {
                    mStatus = invokeAgentForBackup(PACKAGE_MANAGER_SENTINEL,
                            IBackupAgent.Stub.asInterface(pmAgent.onBind()), mTransport);
                    addBackupTrace("PMBA invoke: " + mStatus);

                    // Because the PMBA is a local instance, it has already executed its
                    // backup callback and returned.  Blow away the lingering (spurious)
                    // pending timeout message for it.
                    mBackupHandler.removeMessages(MSG_TIMEOUT);
                }

                if (mStatus == BackupTransport.TRANSPORT_NOT_INITIALIZED) {