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

Commit 72cbdf44 authored by Taesu Lee's avatar Taesu Lee
Browse files

Lock correct object for sync in MultiSimSettingController



Test: atest FrameworksTelephonyTests:MultiSimSettingControllerTest

Change-Id: Ib270e6250aa451454345d1264123b29650481f9b
Signed-off-by: default avatarTaesu Lee <taesu82.lee@samsung.com>
parent d8b9905f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -153,7 +153,7 @@ public class MultiSimSettingController extends Handler {
     * Return the singleton or create one if not existed.
     */
    public static MultiSimSettingController getInstance() {
        synchronized (SubscriptionController.class) {
        synchronized (MultiSimSettingController.class) {
            if (sInstance == null) {
                Log.wtf(LOG_TAG, "getInstance null");
            }
@@ -166,7 +166,7 @@ public class MultiSimSettingController extends Handler {
     * Init instance of MultiSimSettingController.
     */
    public static MultiSimSettingController init(Context context, SubscriptionController sc) {
        synchronized (SubscriptionController.class) {
        synchronized (MultiSimSettingController.class) {
            if (sInstance == null) {
                sInstance = new MultiSimSettingController(context, sc);
            } else {