grpc-java/android
litclimbing ca4a1d8ca3
android: fix for app coming to foreground
When an app goes to the background, onBlockedStatusChanged is called with true and then called with false when it comes back to the foreground. The function onAvailable isn't called in this case and the connection wasn't being reset. Closes #8850

I noticed the comment that this is used for API versions 24+ but onBlockedStatusChanged was added in 29. I'm not sure if some kind of guard needs to be added or not.
https://developer.android.com/reference/android/net/ConnectivityManager.NetworkCallback#onBlockedStatusChanged(android.net.Network,%20boolean)
2022-02-03 15:56:43 -08:00
..
src android: fix for app coming to foreground 2022-02-03 15:56:43 -08:00
build.gradle all: fix various gradle build warnings 2022-01-18 10:18:16 -08:00
proguard-rules.txt android: include proguard config to keep method names (#4667) 2018-07-23 15:51:19 -07:00