handle network swap #32
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "SD-230"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -574,0 +583,4 @@
else {
NetworkRequest request = new NetworkRequest.Builder()
.addCapability(NetworkCapabilities.NET_CAPABILITY_INTERNET).build();
connectivityManager.registerNetworkCallback(request, networkCallback);
This is done on both branches, should be outside of
if
.On first branch it has one parameter and in the second one has two.
@ -576,0 +609,4 @@
uiHandler.post(() -> {
Log.v(TAG, "myService: " + (myService != null));
if (myService != null) {
myService.stopTCPConnection();
Is this related to
tcp.Stop()
above? Is it independent? Why?@ -576,0 +614,4 @@
getApplicationContext().bindService(new Intent(context, TCPService.class), serviceConnection, Context.BIND_AUTO_CREATE);
if (getRadioActivity() != null)
getRadioActivity().onCreate(getRadioActivity().savedInstanceState);
Why is here
savedInstanceState
andgetSavedInstanceState
on the others?Because savedInstanceState is the name of the variable and we didn't have a getter. Now I've created one and I'm using it.
ok from my side for now