File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
aws-datastore/src/main/java/com/amplifyframework/datastore Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -755,8 +755,7 @@ Builder storageAdapter(LocalStorageAdapter storageAdapter) {
755
755
* @param reachabilityMonitor An instance that implements LocalStorageAdapter.
756
756
* @return Current builder instance, for fluent construction of plugin.
757
757
*/
758
- @ VisibleForTesting
759
- Builder reachabilityMonitor (ReachabilityMonitor reachabilityMonitor ) {
758
+ public Builder reachabilityMonitor (ReachabilityMonitor reachabilityMonitor ) {
760
759
this .reachabilityMonitor = reachabilityMonitor ;
761
760
return this ;
762
761
}
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ import java.util.concurrent.TimeUnit
36
36
* The network changes are debounced with a 250 ms delay to allow some time for one network to connect after another
37
37
* network has disconnected (for example, wifi is lost, then cellular connects) to reduce thrashing.
38
38
*/
39
- internal interface ReachabilityMonitor {
39
+ public interface ReachabilityMonitor {
40
40
fun configure (context : Context )
41
41
@VisibleForTesting
42
42
fun configure (context : Context , connectivityProvider : ConnectivityProvider )
@@ -99,7 +99,7 @@ private class ReachabilityMonitorImpl constructor(val schedulerProvider: Schedul
99
99
* is a concrete class created within context.getSystemService() it can't be overridden with a test
100
100
* implementation, so this interface works around that issue.
101
101
*/
102
- internal interface ConnectivityProvider {
102
+ public interface ConnectivityProvider {
103
103
val hasActiveNetwork: Boolean
104
104
fun registerDefaultNetworkCallback (context : Context , callback : NetworkCallback )
105
105
}
You can’t perform that action at this time.
0 commit comments