Skip to content

Commit d06a4ac

Browse files
committed
start network radar only if WiFi is connected
1 parent c066095 commit d06a4ac

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

cSploit/src/org/csploit/android/MainActivity.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,8 +247,9 @@ private void onCoreUpdated() {
247247
MainActivity.this.runOnUiThread(new Runnable() {
248248
@Override
249249
public void run() {
250-
System.reloadNetworkMapping();
251-
createLayout();
250+
System.reloadNetworkMapping();
251+
createLayout();
252+
if(System.isInitialized())
252253
startNetworkRadar(true);
253254
}
254255
});

0 commit comments

Comments
 (0)