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

Commit 8a170b2e authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fixes a potential error in setDynamicShortcut" into sc-dev

parents 929d2ce0 525a89b2
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1992,10 +1992,11 @@ public class ShortcutService extends IShortcutService.Stub {
                packageShortcutsChanged(packageName, userId, changedShortcuts, removedShortcuts);

                verifyStates();

                ret.complete(true);
            } catch (Exception e) {
                ret.completeExceptionally(e);
            }
            ret.complete(true);
        });
        return ret;
    }