tachiyomi/app
Two-Ai b4b3a4d286
Fixup HttpPageLoader _loadPage (#8984)
Fixup for e4bc8990 (#8955)

HttpSource.fetchImage() uses Call.asObservableSuccess(), which
cancels the call on unsubscribe. This causes the call to be cancelled
before it is used, leading to a "java.net.SocketException: Socket is
closed" when trying to use the response in putImageToCache().

To fix this, use Call.awaitSuccess() via a new HttpSource.getImage()
suspending function. This addition to source-api is only intended for
app use, so it will not be added to the extensions-api stubs.
2023-01-25 18:18:12 -05:00
..
src Fixup HttpPageLoader _loadPage (#8984) 2023-01-25 18:18:12 -05:00
.gitignore Move google-services.json 2020-04-29 17:56:05 -04:00
build.gradle.kts Move Category model and repository to domain and data layer (#8967) 2023-01-22 10:12:29 -05:00
proguard-android-optimize.txt Adjust R8 optimization configs to fix extension issues 2022-05-26 19:41:43 -04:00
proguard-rules.pro Update Proguard rules to handle serializers in all modules 2022-10-01 10:47:45 -04:00
shortcuts.xml Remove more unused strings 2021-05-30 11:10:16 -04:00