Created
October 16, 2020 21:36
-
-
Save PIPIPIG233666/72806386c8b93729ce7f2b2c263d8889 to your computer and use it in GitHub Desktop.
qti-telephony-common smali edit
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/smali/com/qualcomm/qti/internal/telephony/WifiManagerCompatible.smali | |
+++ b/smali/com/qualcomm/qti/internal/telephony/WifiManagerCompatible.smali | |
@@ -17,7 +17,7 @@ | |
.locals 1 | |
.line 15 | |
- sget-boolean v0, Lmiui/os/Build;->IS_GLOBAL_BUILD:Z | |
+ const v0, 1 | |
return v0 | |
.end method | |
@@ -27,22 +27,6 @@ | |
.param p0, "context" # Landroid/content/Context; | |
.param p1, "set" # I | |
- .line 9 | |
- const-string v0, "MiuiWifiService" | |
- | |
- invoke-virtual {p0, v0}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object; | |
- | |
- move-result-object v0 | |
- | |
- check-cast v0, Landroid/net/wifi/MiuiWifiManager; | |
- | |
- .line 10 | |
- .local v0, "mws":Landroid/net/wifi/MiuiWifiManager; | |
- if-eqz v0, :cond_0 | |
- | |
- .line 11 | |
- invoke-virtual {v0, p1}, Landroid/net/wifi/MiuiWifiManager;->setSARLimit(I)V | |
- | |
.line 12 | |
:cond_0 | |
return-void |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment