Unverified Commit f5bc88b8 authored by Mygod's avatar Mygod Committed by GitHub

More stupid Android 6 bugs

parent 247c4a1f
...@@ -126,7 +126,7 @@ object DefaultNetworkListener { ...@@ -126,7 +126,7 @@ object DefaultNetworkListener {
fallback = false fallback = false
// we want REQUEST here instead of LISTEN // we want REQUEST here instead of LISTEN
Core.connectivity.requestNetwork(request, Callback) Core.connectivity.requestNetwork(request, Callback)
} catch (e: SecurityException) { } catch (e: RuntimeException) {
// known bug: https://stackoverflow.com/a/33509180/2245107 // known bug: https://stackoverflow.com/a/33509180/2245107
if (Build.VERSION.SDK_INT != 23) Timber.w(e) if (Build.VERSION.SDK_INT != 23) Timber.w(e)
fallback = true fallback = true
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment