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

Commit 1398e27b authored by Christopher Tate's avatar Christopher Tate
Browse files

Fix 'bmgr restore'

Zero means success.  Fixes bug #2573785

Change-Id: I11bd4d85aa2b3a061aa37e085790ee8cd52d50a2
parent fede9aed
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -373,7 +373,7 @@ public final class Bmgr {
            }
            RestoreSet[] sets = null;
            int err = mRestore.getAvailableRestoreSets(observer);
            if (err != 0) {
            if (err == 0) {
                observer.waitForCompletion();
                sets = observer.sets;
                for (RestoreSet s : sets) {