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

Commit 9fa1803a 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

Change-Id: Icbfc0cd8998f9f2becd7787fe362754e1c79885a
parents 7f76f06d e88394a4
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;