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

Commit e88394a4 authored by Jiuyu Sun's avatar Jiuyu Sun Committed by android-build-merger
Browse files

Merge "Store the message object for later use." into qt-dev

am: 88c8c45d

Change-Id: I22a55fb1bb3377a91e564ceb304d0bd6cb197576
parents cf5740ba 88c8c45d
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -322,12 +322,13 @@ public class SubscriptionInfoUpdater extends Handler {

            case EVENT_REFRESH_EMBEDDED_SUBSCRIPTIONS:
                cardIds.add(msg.arg1);
                Runnable r = (Runnable) msg.obj;
                updateEmbeddedSubscriptions(cardIds, (hasChanges) -> {
                    if (hasChanges) {
                        SubscriptionController.getInstance().notifySubscriptionInfoChanged();
                    }
                    if (msg.obj != null) {
                        ((Runnable) msg.obj).run();
                    if (r != null) {
                        r.run();
                    }
                });
                break;