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

Commit 556133a8 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 am: e88394a4

am: 9fa1803a

Change-Id: I3b335f0b71d519c7ed308c13b5cb7c92d9cb183a
parents c907c088 9fa1803a
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;