mirror of
https://github.com/mihonapp/mihon.git
synced 2024-12-24 18:08:24 +01:00
Remove builtin decoders from Rapid
This commit is contained in:
parent
d7b8015df7
commit
22bbcaeed0
@ -93,7 +93,7 @@ android {
|
|||||||
dependencies {
|
dependencies {
|
||||||
|
|
||||||
// Modified 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'
|
compile 'com.github.inorichi:ReactiveNetwork:69092ed'
|
||||||
|
|
||||||
// Android support library
|
// Android support library
|
||||||
|
@ -201,11 +201,8 @@ abstract class BaseReader : BaseFragment() {
|
|||||||
fun setDecoderClass(value: Int) {
|
fun setDecoderClass(value: Int) {
|
||||||
when (value) {
|
when (value) {
|
||||||
RAPID_DECODER -> {
|
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
|
regionDecoderClass = RapidImageRegionDecoder::class.java
|
||||||
bitmapDecoderClass = SkiaImageDecoder::class.java
|
bitmapDecoderClass = RapidImageDecoder::class.java
|
||||||
}
|
}
|
||||||
SKIA_DECODER -> {
|
SKIA_DECODER -> {
|
||||||
regionDecoderClass = SkiaImageRegionDecoder::class.java
|
regionDecoderClass = SkiaImageRegionDecoder::class.java
|
||||||
|
@ -6,7 +6,7 @@ buildscript {
|
|||||||
jcenter()
|
jcenter()
|
||||||
}
|
}
|
||||||
dependencies {
|
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'
|
classpath 'com.github.ben-manes:gradle-versions-plugin:0.13.0'
|
||||||
// NOTE: Do not place your application dependencies here; they belong
|
// NOTE: Do not place your application dependencies here; they belong
|
||||||
// in the individual module build.gradle files
|
// in the individual module build.gradle files
|
||||||
|
Loading…
Reference in New Issue
Block a user