mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-10 04:37:25 +01:00
Remove builtin decoders from Rapid
This commit is contained in:
parent
d7b8015df7
commit
22bbcaeed0
@ -93,7 +93,7 @@ android {
|
||||
dependencies {
|
||||
|
||||
// Modified dependencies
|
||||
compile 'com.github.inorichi:subsampling-scale-image-view:c3e3a87'
|
||||
compile 'com.github.inorichi:subsampling-scale-image-view:a2a14ef'
|
||||
compile 'com.github.inorichi:ReactiveNetwork:69092ed'
|
||||
|
||||
// Android support library
|
||||
|
@ -201,11 +201,8 @@ abstract class BaseReader : BaseFragment() {
|
||||
fun setDecoderClass(value: Int) {
|
||||
when (value) {
|
||||
RAPID_DECODER -> {
|
||||
// Using Skia because Rapid isn't stable. Rapid is still used for region decoding.
|
||||
// https://github.com/inorichi/tachiyomi/issues/97
|
||||
//bitmapDecoderClass = RapidImageDecoder.class;
|
||||
regionDecoderClass = RapidImageRegionDecoder::class.java
|
||||
bitmapDecoderClass = SkiaImageDecoder::class.java
|
||||
bitmapDecoderClass = RapidImageDecoder::class.java
|
||||
}
|
||||
SKIA_DECODER -> {
|
||||
regionDecoderClass = SkiaImageRegionDecoder::class.java
|
||||
|
@ -6,7 +6,7 @@ buildscript {
|
||||
jcenter()
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:2.2.1'
|
||||
classpath 'com.android.tools.build:gradle:2.2.2'
|
||||
classpath 'com.github.ben-manes:gradle-versions-plugin:0.13.0'
|
||||
// NOTE: Do not place your application dependencies here; they belong
|
||||
// in the individual module build.gradle files
|
||||
|
Loading…
Reference in New Issue
Block a user