You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix NetworkOnMainThreadException for API levels below 26 (#6940)
This change addresses a ``NetworkOnMainThreadException`` that was
observed on Android API levels below 26.
The crash happened during background transitions when disconnecting an
``HttpURLConnection`` because background callbacks on these older OS
versions could run on the main thread. The fix restricts the disconnect
logic to run only on API level 26 (Android 8.0) and higher.
0 commit comments