Commit c377f75d authored by Vincent Bourgmayer's avatar Vincent Bourgmayer 🎼
Browse files

Merge branch 'oreo_fileObserver' into issue_124_skipToCompleteScan

parents b181d7e1 805530d7
Pipeline #148112 passed with stage
in 3 minutes and 23 seconds
...@@ -9,11 +9,13 @@ import android.util.Log; ...@@ -9,11 +9,13 @@ import android.util.Log;
import java.io.IOException; import java.io.IOException;
import foundation.e.drive.services.InitializerService;
public class ConnectivityReceiver public class ConnectivityReceiver
extends BroadcastReceiver { extends BroadcastReceiver {
public static ConnectivityReceiverListener connectivityReceiverListener; public static ConnectivityReceiverListener connectivityReceiverListener;
final private String TAG = InitializerService.class.getSimpleName();
public ConnectivityReceiver() { public ConnectivityReceiver() {
super(); super();
} }
...@@ -42,7 +44,7 @@ public class ConnectivityReceiver ...@@ -42,7 +44,7 @@ public class ConnectivityReceiver
&& activeNetwork.isConnectedOrConnecting(); && activeNetwork.isConnectedOrConnecting();
//if (connectivityReceiverListener != null) { //if (connectivityReceiverListener != null) {
Log.e("TAG", "ConnectivityReceiver onNetworkConnectionChanged...." + isConnected); Log.e(TAG, "ConnectivityReceiver onNetworkConnectionChanged...." + isConnected);
//connectivityReceiverListener.onNetworkConnectionChanged(isConnected); //connectivityReceiverListener.onNetworkConnectionChanged(isConnected);
//} //}
} }
......
...@@ -347,7 +347,7 @@ public class InitializerService extends Service ...@@ -347,7 +347,7 @@ public class InitializerService extends Service
public void onNetworkConnectionChanged(boolean isConnected) { public void onNetworkConnectionChanged(boolean isConnected) {
//just for testing code for now //just for testing code for now
Log.e("TAG", "onNetworkConnectionChanged...." + isConnected); Log.e(TAG, "onNetworkConnectionChanged...." + isConnected);
} }
} }
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment