Skip to content

Instantly share code, notes, and snippets.

@luca020400
Last active April 12, 2020 10:24
Show Gist options
  • Save luca020400/b0152c9b77e55f50eee0513cf666f61c to your computer and use it in GitHub Desktop.
Save luca020400/b0152c9b77e55f50eee0513cf666f61c to your computer and use it in GitHub Desktop.
diff -ru ims/smali/org/codeaurora/ims/ImsRegistrationImpl.smali ims-patched/smali/org/codeaurora/ims/ImsRegistrationImpl.smali
--- ims/smali/org/codeaurora/ims/ImsRegistrationImpl.smali 2019-11-03 15:20:22.379761792 +0100
+++ ims-patched/smali/org/codeaurora/ims/ImsRegistrationImpl.smali 2019-11-03 15:18:10.976342747 +0100
@@ -216,35 +216,3 @@
.line 53
return-void
.end method
-
-.method public setRadioTechASUS(I)V
- .locals 2
- .param p1, "imsRadioTech" # I
-
- .line 35
- new-instance v0, Ljava/lang/StringBuilder;
-
- invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
-
- const-string v1, "setConnectionType :: imsRadioTech="
-
- invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
-
- invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
-
- invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
-
- move-result-object v0
-
- invoke-static {p0, v0}, Lcom/qualcomm/ims/utils/Log;->d(Ljava/lang/Object;Ljava/lang/String;)V
-
- .line 36
- invoke-direct {p0, p1}, Lorg/codeaurora/ims/ImsRegistrationImpl;->getImsRegTechFromRadioTech(I)I
-
- move-result v0
-
- invoke-virtual {p0, v0}, Lorg/codeaurora/ims/ImsRegistrationImpl;->setConnectionType(I)V
-
- .line 37
- return-void
-.end method
diff -ru ims/smali/org/codeaurora/ims/ImsServiceSub.smali ims-patched/smali/org/codeaurora/ims/ImsServiceSub.smali
--- ims/smali/org/codeaurora/ims/ImsServiceSub.smali 2019-11-03 15:20:22.416428481 +0100
+++ ims-patched/smali/org/codeaurora/ims/ImsServiceSub.smali 2019-11-03 15:18:10.976342747 +0100
@@ -6489,16 +6489,7 @@
.line 666
goto :goto_1
- .line 659
:cond_2
- iget-object v4, p0, Lorg/codeaurora/ims/ImsServiceSub;->mImsReg:Lorg/codeaurora/ims/ImsRegistrationImpl;
-
- invoke-direct {p0, v9}, Lorg/codeaurora/ims/ImsServiceSub;->mapVoiceTechToRegRat(I)I
-
- move-result v5
-
- invoke-virtual {v4, v5}, Lorg/codeaurora/ims/ImsRegistrationImpl;->setRadioTechASUS(I)V
-
.line 661
iget-object v4, p0, Lorg/codeaurora/ims/ImsServiceSub;->mMmtelCapabilities:Landroid/telephony/ims/feature/MmTelFeature$MmTelCapabilities;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment