Ethernet does not work
thalueng opened this issue · 1 comments
The app works on wireless, does not work on a wired connection. It seems that pulling the config data does not transfer information about the network preferences, but I can't find the location to tweak it in the smali files.
I found a work-around. Patch method isWiFiConnected in ConnectivityUtils.smali to always return true. It's not perfect, but allows the app to stream on a wired connection.
diff -ruN netflix_stock/smali_classes2/com/netflix/mediaclient/util/ConnectivityUtils.smali netflix_patch/smali_classes2/com/netflix/mediaclient/util/ConnectivityUtils.smali
--- netflix_stock/smali_classes2/com/netflix/mediaclient/util/ConnectivityUtils.smali 2021-01-18 23:51:36.887396400 +0700
+++ netflix_patch/smali_classes2/com/netflix/mediaclient/util/ConnectivityUtils.smali 2021-01-19 00:26:08.139067800 +0700
@@ -2405,11 +2405,8 @@
.locals 2
.prologue
- .line 541
- if-nez p0, :cond_0
-
.line 543
- const/4 v0, 0x0
+ const/4 v0, 0x1
.line 547
:goto_0