Remove builtin decoders from Rapid

This commit is contained in:
len 2016-10-23 16:42:48 +02:00
parent d7b8015df7
commit 22bbcaeed0
3 changed files with 3 additions and 6 deletions

View File

@ -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

View File

@ -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

View File

@ -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