Compare commits

...

8 Commits

Author SHA1 Message Date
Matéo Duparc 8fe8b2f4b3
libpdfviewer: update to PdfViewer 13 2022-03-21 16:43:25 +01:00
Daniel Micay 94c947305b increment version to 13 2022-03-20 05:15:49 -04:00
emschu 0c21e13459 add basic support to share documents via an additional item in options menu, add share icon
Signed-off-by: emschu <emschu@mailbox.org>
2022-03-20 05:14:05 -04:00
June cb4a0e8684 Target SDK 12L/12.1
GrapheneOS is now on 12.1

Signed-off-by: June <june@eridan.me>
2022-03-13 06:00:59 -04:00
June ea519819c6 Update gradle to 7.4.1
Signed-off-by: June <june@eridan.me>
2022-03-12 11:49:02 -05:00
June 26e6d77574 Update pdf.js to 2.13.216
tag 070a365be5a7579f4ddd5a9a2d4efcd281c2d64f

Signed-off-by: June <june@eridan.me>
2022-03-08 17:47:33 -05:00
dependabot[bot] b9da0073b7 Bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-01 16:34:36 -05:00
Daniel Micay 5c5bd0851d rename package to app.grapheneos.pdfviewer too 2022-02-25 16:26:22 -05:00
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