Skip to content

Commit

Permalink
ImsService: Update getSimStateForSlotIndex location on U
Browse files Browse the repository at this point in the history
Signed-off-by: Sarthak Roy <[email protected]>
Change-Id: Ibdef5b70085927bccd49f4370d9b97fc909875ce
  • Loading branch information
sarthakroy2002 authored and DarkJoker360 committed Oct 14, 2023
1 parent 7566167 commit 7436a27
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion smali/com/mediatek/ims/ImsService$MyHandler.smali
Original file line number Diff line number Diff line change
Expand Up @@ -1689,7 +1689,7 @@
:goto_a
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

Expand Down
2 changes: 1 addition & 1 deletion smali/com/mediatek/ims/ImsService.smali
Original file line number Diff line number Diff line change
Expand Up @@ -12666,7 +12666,7 @@

.line 1245
:cond_3
invoke-static {p2}, Landroid/telephony/SubscriptionManager;->getSimStateForSlotIndex(I)I
invoke-static {p2}, Landroid/telephony/TelephonyManager;->getSimStateForSlotIndex(I)I

move-result v3

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@

.line 244
:cond_0
invoke-static {v1}, Landroid/telephony/SubscriptionManager;->getSimStateForSlotIndex(I)I
invoke-static {v1}, Landroid/telephony/TelephonyManager;->getSimStateForSlotIndex(I)I

move-result v1

Expand Down Expand Up @@ -1022,7 +1022,7 @@
.line 118
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

Expand Down

0 comments on commit 7436a27

Please sign in to comment.