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

Commit 330ba257 authored by Muralidhar Reddy's avatar Muralidhar Reddy Committed by Muralidhar Reddy Mule
Browse files

Call SubscriptionManagerService#updateEmbeddedSubscriptions API callback once...

Call SubscriptionManagerService#updateEmbeddedSubscriptions API callback once after the embedded subs info update is completed.

Test: atest FrameworksTelephonyTests
Test: Verified on C10P10 b/276843471#comment13
Bug: 279531290, 276843471
Change-Id: I77d2cf8191129264579793f8a23fd534145a7f63
parent b0e3f9b6
Loading
Loading
Loading
Loading
+7 −4
Original line number Diff line number Diff line
@@ -1182,11 +1182,14 @@ public class SubscriptionManagerService extends ISub.Stub {
            } else {
                loge("The eSIM profiles update was not successful.");
            }
        });
            log("updateEmbeddedSubscriptions: Finished embedded subscription update.");
            // The runnable will be executed in the main thread. Pre Android-U behavior.
            mHandler.post(() -> {
                if (callback != null) {
                    callback.run();
                }
            });
        });
    }

    /**