Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
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
Next Next commit
Remove dependency of old support library
  • Loading branch information
nordfalk committed Mar 16, 2021
commit d57ab0b930d7890e24a4feca5e4227270905518c
3 changes: 1 addition & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ android {
compileSdkVersion 26

defaultConfig {
minSdkVersion 14
minSdkVersion 19
targetSdkVersion 26
versionCode 1
versionName "1.9.0"
Expand All @@ -68,7 +68,6 @@ repositories {

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:support-v4:26.1.0'
}

apply from: 'https://raw.githubusercontent.com/nuuneoi/JCenter/master/installv1.gradle'
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/shockwave/pdfium/PdfDocument.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import android.graphics.RectF;
import android.os.ParcelFileDescriptor;
import android.support.v4.util.ArrayMap;
import android.util.ArrayMap;

import java.util.ArrayList;
import java.util.List;
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/shockwave/pdfium/PdfiumCore.java
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public static int getNumFd(ParcelFileDescriptor fdObj) {
/** Context needed to get screen density */
public PdfiumCore(Context ctx) {
mCurrentDpi = ctx.getResources().getDisplayMetrics().densityDpi;
Log.d(TAG, "Starting PdfiumAndroid " + BuildConfig.VERSION_NAME);
Log.d(TAG, "Starting PdfiumAndroid" );
}

/** Create new document from file */
Expand Down