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

Commit 4b51d99a authored by Sergey Poromov's avatar Sergey Poromov
Browse files

Fix BackupManager to really send MSG_RESULT when onResult is called.

Previously it send MSG_FINISHED.
I'm surprised why backup test app was successfully receiving appropriate callbacks...

Change-Id: Ia4950579a3dbf8b7383b8e48dd29b94bdd765cd8
parent 6cfdf6b6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -528,7 +528,7 @@ public class BackupManager {
        @Override
        public void onResult(String currentPackage, int status) {
            mHandler.sendMessage(
                mHandler.obtainMessage(MSG_FINISHED, status, 0, currentPackage));
                mHandler.obtainMessage(MSG_RESULT, status, 0, currentPackage));
        }

        @Override