We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug App crashes on Android 11 due to a RemoteException involving ConnectivityManager. This is a known bug with Android 11 and has been fixed in Android 12 (https://android-review.googlesource.com/c/platform/frameworks/base/+/1758029). Other libraries (such as ExoPlayer) wrapped calls of ConnectivityManager.getNetworkCapabilities with a try-catch (google/ExoPlayer#9002).
ConnectivityManager.getNetworkCapabilities
try-catch
Stack trace:
android.app.AppOpsManager.checkPackage AppOpsManager.java:7864 com.android.server.ConnectivityService.getNetworkCapabilities ConnectivityService.java:1705 android.net.IConnectivityManager$Stub.onTransact IConnectivityManager.java:978 android.os.Binder.execTransactInternal Binder.java:1169 android.os.Binder.execTransact Binder.java:1126 android.os.Parcel.createExceptionOrNull Parcel.java:2374 android.os.Parcel.createException Parcel.java:2358 android.os.Parcel.readException Parcel.java:2341 android.os.Parcel.readException Parcel.java:2283 android.net.IConnectivityManager$Stub$Proxy.getNetworkCapabilities IConnectivityManager.java:2456 android.net.ConnectivityManager.getNetworkCapabilities ConnectivityManager.java:1386 com.reown.android.internal.common.connection.ConnectivityState.isCapable ConnectivityState.java:42 com.reown.android.internal.common.connection.ConnectivityState.access$isCapable ConnectivityState.java:16 com.reown.android.internal.common.connection.ConnectivityState$callback$1.onAvailable ConnectivityState.java:27 android.net.ConnectivityManager$NetworkCallback.onAvailable ConnectivityManager.java:3353 android.net.ConnectivityManager$CallbackHandler.handleMessage ConnectivityManager.java:3638 android.os.Handler.dispatchMessage Handler.java:106 android.os.Looper.loop Looper.java:268 android.os.HandlerThread.run HandlerThread.java:67
SDK Version
The text was updated successfully, but these errors were encountered:
WK-547 RemoteException involving ConnectivityManager
Sorry, something went wrong.
No branches or pull requests
Describe the bug
App crashes on Android 11 due to a RemoteException involving ConnectivityManager.
This is a known bug with Android 11 and has been fixed in Android 12 (https://android-review.googlesource.com/c/platform/frameworks/base/+/1758029).
Other libraries (such as ExoPlayer) wrapped calls of
ConnectivityManager.getNetworkCapabilities
with atry-catch
(google/ExoPlayer#9002).Stack trace:
SDK Version
ConnectivityManager.getNetworkCapabilities
with atry-catch
)The text was updated successfully, but these errors were encountered: