libpdfviewer: update to PdfViewer 13

This commit is contained in:
Matéo Duparc 2022-03-21 16:43:25 +01:00
commit 8fe8b2f4b3
Signed by: hardcoresushi
GPG Key ID: AFE384344A45E13A
12 changed files with 22 additions and 21 deletions

View File

@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: true
- name: Set up JDK 17

View File

@ -7,5 +7,5 @@ jobs:
name: Validation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: gradle/wrapper-validation-action@v1

View File

@ -37,7 +37,7 @@ android {
defaultConfig {
minSdk = 21
targetSdk = 31
targetSdk = 32
resourceConfigurations.add("en")
}

@ -1 +1 @@
Subproject commit a7fc0d33a11d032741f44d0b623780253747da10
Subproject commit 070a365be5a7579f4ddd5a9a2d4efcd281c2d64f

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.grapheneos.pdfviewer"
package="app.grapheneos.pdfviewer"
android:targetSandboxVersion="2">
<original-package android:name="org.grapheneos.pdfviewer" />

View File

@ -1,4 +1,4 @@
package org.grapheneos.pdfviewer;
package app.grapheneos.pdfviewer;
import android.annotation.SuppressLint;
import android.content.Context;

View File

@ -1,4 +1,4 @@
package org.grapheneos.pdfviewer;
package app.grapheneos.pdfviewer;
import android.content.pm.PackageInfo;
import android.content.res.ColorStateList;
@ -29,10 +29,10 @@ import androidx.appcompat.app.AppCompatActivity;
import androidx.loader.app.LoaderManager;
import androidx.loader.content.Loader;
import org.grapheneos.pdfviewer.databinding.PdfviewerBinding;
import org.grapheneos.pdfviewer.fragment.DocumentPropertiesFragment;
import org.grapheneos.pdfviewer.fragment.JumpToPageFragment;
import org.grapheneos.pdfviewer.loader.DocumentPropertiesLoader;
import app.grapheneos.pdfviewer.databinding.PdfviewerBinding;
import app.grapheneos.pdfviewer.fragment.DocumentPropertiesFragment;
import app.grapheneos.pdfviewer.fragment.JumpToPageFragment;
import app.grapheneos.pdfviewer.loader.DocumentPropertiesLoader;
import java.io.IOException;
import java.io.InputStream;

View File

@ -1,4 +1,4 @@
package org.grapheneos.pdfviewer;
package app.grapheneos.pdfviewer;
import android.text.TextUtils;

View File

@ -1,4 +1,4 @@
package org.grapheneos.pdfviewer.fragment;
package app.grapheneos.pdfviewer.fragment;
import android.app.Activity;
import android.app.Dialog;
@ -10,7 +10,7 @@ import androidx.fragment.app.DialogFragment;
import com.google.android.material.dialog.MaterialAlertDialogBuilder;
import org.grapheneos.pdfviewer.R;
import app.grapheneos.pdfviewer.R;
import java.util.ArrayList;
import java.util.List;

View File

@ -1,4 +1,4 @@
package org.grapheneos.pdfviewer.fragment;
package app.grapheneos.pdfviewer.fragment;
import android.app.Dialog;
import android.os.Bundle;
@ -11,7 +11,7 @@ import androidx.fragment.app.DialogFragment;
import com.google.android.material.dialog.MaterialAlertDialogBuilder;
import org.grapheneos.pdfviewer.PdfViewer;
import app.grapheneos.pdfviewer.PdfViewer;
public class JumpToPageFragment extends DialogFragment {
public static final String TAG = "JumpToPageFragment";

View File

@ -1,4 +1,4 @@
package org.grapheneos.pdfviewer.loader;
package app.grapheneos.pdfviewer.loader;
import android.content.Context;
import android.graphics.Typeface;
@ -9,8 +9,6 @@ import android.util.Log;
import androidx.loader.content.AsyncTaskLoader;
import org.grapheneos.pdfviewer.R;
import org.grapheneos.pdfviewer.Utils;
import org.json.JSONException;
import org.json.JSONObject;
@ -18,6 +16,9 @@ import java.text.ParseException;
import java.util.ArrayList;
import java.util.List;
import app.grapheneos.pdfviewer.R;
import app.grapheneos.pdfviewer.Utils;
public class DocumentPropertiesLoader extends AsyncTaskLoader<List<CharSequence>> {
public static final String TAG = "DocumentPropertiesLoader";

View File

@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionSha256Sum=8cc27038d5dbd815759851ba53e70cf62e481b87494cc97cfd97982ada5ba634
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip
distributionSha256Sum=e5444a57cda4a95f90b0c9446a9e1b47d3d7f69057765bfb54bd4f482542d548
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists