From 47ba1446f828f0efad8bef8d3588a2f8828609e8 Mon Sep 17 00:00:00 2001 From: Sarthak Roy Date: Sat, 14 Oct 2023 10:46:45 +0200 Subject: [PATCH] ImsService: Update getSimStateForSlotIndex location on U Signed-off-by: Sarthak Roy Change-Id: Ibdef5b70085927bccd49f4370d9b97fc909875ce --- smali/com/mediatek/ims/ImsService$MyHandler.smali | 2 +- smali/com/mediatek/ims/ImsService.smali | 2 +- .../mediatek/ims/config/internal/ImsConfigEventReceiver.smali | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/smali/com/mediatek/ims/ImsService$MyHandler.smali b/smali/com/mediatek/ims/ImsService$MyHandler.smali index 3bdef44..79b7376 100644 --- a/smali/com/mediatek/ims/ImsService$MyHandler.smali +++ b/smali/com/mediatek/ims/ImsService$MyHandler.smali @@ -2191,7 +2191,7 @@ :goto_c iget v4, v1, Lcom/mediatek/ims/ImsService$MyHandler;->mSocketId:I - invoke-static {v4}, Landroid/telephony/SubscriptionManager;->getSimStateForSlotIndex(I)I + invoke-static {v4}, Landroid/telephony/TelephonyManager;->getSimStateForSlotIndex(I)I move-result v4 diff --git a/smali/com/mediatek/ims/ImsService.smali b/smali/com/mediatek/ims/ImsService.smali index 81c887b..143ad26 100644 --- a/smali/com/mediatek/ims/ImsService.smali +++ b/smali/com/mediatek/ims/ImsService.smali @@ -14183,7 +14183,7 @@ .line 1484 :cond_4 - invoke-static {p2}, Landroid/telephony/SubscriptionManager;->getSimStateForSlotIndex(I)I + invoke-static {p2}, Landroid/telephony/TelephonyManager;->getSimStateForSlotIndex(I)I move-result v3 diff --git a/smali/com/mediatek/ims/config/internal/ImsConfigEventReceiver.smali b/smali/com/mediatek/ims/config/internal/ImsConfigEventReceiver.smali index e0d6829..9583f91 100644 --- a/smali/com/mediatek/ims/config/internal/ImsConfigEventReceiver.smali +++ b/smali/com/mediatek/ims/config/internal/ImsConfigEventReceiver.smali @@ -218,7 +218,7 @@ .line 263 :cond_0 - invoke-static {v1}, Landroid/telephony/SubscriptionManager;->getSimStateForSlotIndex(I)I + invoke-static {v1}, Landroid/telephony/TelephonyManager;->getSimStateForSlotIndex(I)I move-result v1 @@ -1057,7 +1057,7 @@ .line 126 iget v1, p0, Lcom/mediatek/ims/config/internal/ImsConfigEventReceiver;->mPhoneId:I - invoke-static {v1}, Landroid/telephony/SubscriptionManager;->getSimStateForSlotIndex(I)I + invoke-static {v1}, Landroid/telephony/TelephonyManager;->getSimStateForSlotIndex(I)I move-result v1