Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,11 @@ void loadComplete(PdfFile pdfFile) {
state = State.LOADED;

this.pdfFile = pdfFile;


if (renderingHandlerThread == null) {
return;
}

if (!renderingHandlerThread.isAlive()) {
renderingHandlerThread.start();
}
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.1.2'
classpath 'com.android.tools.build:gradle:3.6.4'
}
}

allprojects {
allprojects{
repositories {
google()
mavenCentral()
Expand Down
8 changes: 8 additions & 0 deletions sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,20 @@ apply plugin: 'com.android.application'

android {
compileSdkVersion 28
ndkVersion "21.1.6352462"

defaultConfig {
minSdkVersion 14
targetSdkVersion 28
versionCode 3
versionName "3.0.0"


javaCompileOptions {
annotationProcessorOptions {
arguments = ["androidManifestFile": "$projectDir/src/main/AndroidManifest.xml".toString()]
}
}
}

}
Expand Down