libpdfviewer: update to PdfViewer 13
This commit is contained in:
commit
8fe8b2f4b3
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -7,7 +7,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
- name: Set up JDK 17
|
- name: Set up JDK 17
|
||||||
|
@ -7,5 +7,5 @@ jobs:
|
|||||||
name: Validation
|
name: Validation
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
- uses: gradle/wrapper-validation-action@v1
|
- uses: gradle/wrapper-validation-action@v1
|
||||||
|
@ -37,7 +37,7 @@ android {
|
|||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdk = 21
|
minSdk = 21
|
||||||
targetSdk = 31
|
targetSdk = 32
|
||||||
resourceConfigurations.add("en")
|
resourceConfigurations.add("en")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit a7fc0d33a11d032741f44d0b623780253747da10
|
Subproject commit 070a365be5a7579f4ddd5a9a2d4efcd281c2d64f
|
@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
package="org.grapheneos.pdfviewer"
|
package="app.grapheneos.pdfviewer"
|
||||||
android:targetSandboxVersion="2">
|
android:targetSandboxVersion="2">
|
||||||
<original-package android:name="org.grapheneos.pdfviewer" />
|
<original-package android:name="org.grapheneos.pdfviewer" />
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package org.grapheneos.pdfviewer;
|
package app.grapheneos.pdfviewer;
|
||||||
|
|
||||||
import android.annotation.SuppressLint;
|
import android.annotation.SuppressLint;
|
||||||
import android.content.Context;
|
import android.content.Context;
|
@ -1,4 +1,4 @@
|
|||||||
package org.grapheneos.pdfviewer;
|
package app.grapheneos.pdfviewer;
|
||||||
|
|
||||||
import android.content.pm.PackageInfo;
|
import android.content.pm.PackageInfo;
|
||||||
import android.content.res.ColorStateList;
|
import android.content.res.ColorStateList;
|
||||||
@ -29,10 +29,10 @@ import androidx.appcompat.app.AppCompatActivity;
|
|||||||
import androidx.loader.app.LoaderManager;
|
import androidx.loader.app.LoaderManager;
|
||||||
import androidx.loader.content.Loader;
|
import androidx.loader.content.Loader;
|
||||||
|
|
||||||
import org.grapheneos.pdfviewer.databinding.PdfviewerBinding;
|
import app.grapheneos.pdfviewer.databinding.PdfviewerBinding;
|
||||||
import org.grapheneos.pdfviewer.fragment.DocumentPropertiesFragment;
|
import app.grapheneos.pdfviewer.fragment.DocumentPropertiesFragment;
|
||||||
import org.grapheneos.pdfviewer.fragment.JumpToPageFragment;
|
import app.grapheneos.pdfviewer.fragment.JumpToPageFragment;
|
||||||
import org.grapheneos.pdfviewer.loader.DocumentPropertiesLoader;
|
import app.grapheneos.pdfviewer.loader.DocumentPropertiesLoader;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.io.InputStream;
|
import java.io.InputStream;
|
@ -1,4 +1,4 @@
|
|||||||
package org.grapheneos.pdfviewer;
|
package app.grapheneos.pdfviewer;
|
||||||
|
|
||||||
import android.text.TextUtils;
|
import android.text.TextUtils;
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
package org.grapheneos.pdfviewer.fragment;
|
package app.grapheneos.pdfviewer.fragment;
|
||||||
|
|
||||||
import android.app.Activity;
|
import android.app.Activity;
|
||||||
import android.app.Dialog;
|
import android.app.Dialog;
|
||||||
@ -10,7 +10,7 @@ import androidx.fragment.app.DialogFragment;
|
|||||||
|
|
||||||
import com.google.android.material.dialog.MaterialAlertDialogBuilder;
|
import com.google.android.material.dialog.MaterialAlertDialogBuilder;
|
||||||
|
|
||||||
import org.grapheneos.pdfviewer.R;
|
import app.grapheneos.pdfviewer.R;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
@ -1,4 +1,4 @@
|
|||||||
package org.grapheneos.pdfviewer.fragment;
|
package app.grapheneos.pdfviewer.fragment;
|
||||||
|
|
||||||
import android.app.Dialog;
|
import android.app.Dialog;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
@ -11,7 +11,7 @@ import androidx.fragment.app.DialogFragment;
|
|||||||
|
|
||||||
import com.google.android.material.dialog.MaterialAlertDialogBuilder;
|
import com.google.android.material.dialog.MaterialAlertDialogBuilder;
|
||||||
|
|
||||||
import org.grapheneos.pdfviewer.PdfViewer;
|
import app.grapheneos.pdfviewer.PdfViewer;
|
||||||
|
|
||||||
public class JumpToPageFragment extends DialogFragment {
|
public class JumpToPageFragment extends DialogFragment {
|
||||||
public static final String TAG = "JumpToPageFragment";
|
public static final String TAG = "JumpToPageFragment";
|
@ -1,4 +1,4 @@
|
|||||||
package org.grapheneos.pdfviewer.loader;
|
package app.grapheneos.pdfviewer.loader;
|
||||||
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.graphics.Typeface;
|
import android.graphics.Typeface;
|
||||||
@ -9,8 +9,6 @@ import android.util.Log;
|
|||||||
|
|
||||||
import androidx.loader.content.AsyncTaskLoader;
|
import androidx.loader.content.AsyncTaskLoader;
|
||||||
|
|
||||||
import org.grapheneos.pdfviewer.R;
|
|
||||||
import org.grapheneos.pdfviewer.Utils;
|
|
||||||
import org.json.JSONException;
|
import org.json.JSONException;
|
||||||
import org.json.JSONObject;
|
import org.json.JSONObject;
|
||||||
|
|
||||||
@ -18,6 +16,9 @@ import java.text.ParseException;
|
|||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
import app.grapheneos.pdfviewer.R;
|
||||||
|
import app.grapheneos.pdfviewer.Utils;
|
||||||
|
|
||||||
public class DocumentPropertiesLoader extends AsyncTaskLoader<List<CharSequence>> {
|
public class DocumentPropertiesLoader extends AsyncTaskLoader<List<CharSequence>> {
|
||||||
public static final String TAG = "DocumentPropertiesLoader";
|
public static final String TAG = "DocumentPropertiesLoader";
|
||||||
|
|
4
gradle/wrapper/gradle-wrapper.properties
vendored
4
gradle/wrapper/gradle-wrapper.properties
vendored
@ -1,6 +1,6 @@
|
|||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
distributionSha256Sum=8cc27038d5dbd815759851ba53e70cf62e481b87494cc97cfd97982ada5ba634
|
distributionSha256Sum=e5444a57cda4a95f90b0c9446a9e1b47d3d7f69057765bfb54bd4f482542d548
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.1-bin.zip
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
|
Loading…
Reference in New Issue
Block a user