Skip to content

Commit da854a8

Browse files
committed
fix: log when skipping connectivity wait due to WiFi IP present
1 parent 4a8185b commit da854a8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/com/bpmct/trmnl_nook_simple_touch/DisplayActivity.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -817,6 +817,8 @@ private void startFetch() {
817817
}
818818
waitForWifiThenFetch();
819819
return;
820+
} else if (!isConnectedToNetwork(this)) {
821+
logD("wifi has IP but ConnectivityManager not yet connected — proceeding anyway");
820822
}
821823
if (!ensureCredentials()) {
822824
return;

0 commit comments

Comments
 (0)