Skip to content

Commit

Permalink
HwIms: Return true in getImsSwitch in any case
Browse files Browse the repository at this point in the history
  • Loading branch information
R0rt1z2 committed Sep 23, 2024
1 parent b749c86 commit ea7828c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions smali/com/huawei/ims/HwImsServiceImpl.smali
Original file line number Diff line number Diff line change
Expand Up @@ -3042,9 +3042,7 @@
if-eqz v0, :cond_0

.line 1064
invoke-virtual {v0}, Lcom/android/internal/telephony/Phone;->getImsSwitch()Z

move-result v1
const/4 v1, 0x1

.line 1066
:cond_0
Expand Down
4 changes: 1 addition & 3 deletions smali/com/huawei/ims/HwImsUtImpl.smali
Original file line number Diff line number Diff line change
Expand Up @@ -13565,9 +13565,7 @@
if-eqz v0, :cond_0

.line 3932
invoke-virtual {v0}, Lcom/android/internal/telephony/Phone;->getImsSwitch()Z

move-result v1
const/4 v1, 0x1

.line 3935
:cond_0
Expand Down

0 comments on commit ea7828c

Please sign in to comment.