From 5c5bd0851df88348969dc99394ebc20a7fe3f4f8 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Fri, 25 Feb 2022 16:26:22 -0500 Subject: [PATCH] rename package to app.grapheneos.pdfviewer too --- app/src/main/AndroidManifest.xml | 2 +- .../grapheneos/pdfviewer/GestureHelper.java | 2 +- .../{org => app}/grapheneos/pdfviewer/PdfViewer.java | 10 +++++----- .../java/{org => app}/grapheneos/pdfviewer/Utils.java | 2 +- .../pdfviewer/fragment/DocumentPropertiesFragment.java | 4 ++-- .../pdfviewer/fragment/JumpToPageFragment.java | 4 ++-- .../pdfviewer/loader/DocumentPropertiesLoader.java | 6 +++--- 7 files changed, 15 insertions(+), 15 deletions(-) rename app/src/main/java/{org => app}/grapheneos/pdfviewer/GestureHelper.java (98%) rename app/src/main/java/{org => app}/grapheneos/pdfviewer/PdfViewer.java (98%) rename app/src/main/java/{org => app}/grapheneos/pdfviewer/Utils.java (99%) rename app/src/main/java/{org => app}/grapheneos/pdfviewer/fragment/DocumentPropertiesFragment.java (96%) rename app/src/main/java/{org => app}/grapheneos/pdfviewer/fragment/JumpToPageFragment.java (96%) rename app/src/main/java/{org => app}/grapheneos/pdfviewer/loader/DocumentPropertiesLoader.java (97%) diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index dfeca70..af3e51c 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -1,6 +1,6 @@ diff --git a/app/src/main/java/org/grapheneos/pdfviewer/GestureHelper.java b/app/src/main/java/app/grapheneos/pdfviewer/GestureHelper.java similarity index 98% rename from app/src/main/java/org/grapheneos/pdfviewer/GestureHelper.java rename to app/src/main/java/app/grapheneos/pdfviewer/GestureHelper.java index 3b8002d..2a291cd 100644 --- a/app/src/main/java/org/grapheneos/pdfviewer/GestureHelper.java +++ b/app/src/main/java/app/grapheneos/pdfviewer/GestureHelper.java @@ -1,4 +1,4 @@ -package org.grapheneos.pdfviewer; +package app.grapheneos.pdfviewer; import android.annotation.SuppressLint; import android.content.Context; diff --git a/app/src/main/java/org/grapheneos/pdfviewer/PdfViewer.java b/app/src/main/java/app/grapheneos/pdfviewer/PdfViewer.java similarity index 98% rename from app/src/main/java/org/grapheneos/pdfviewer/PdfViewer.java rename to app/src/main/java/app/grapheneos/pdfviewer/PdfViewer.java index 2e39a9b..6cb7d8c 100644 --- a/app/src/main/java/org/grapheneos/pdfviewer/PdfViewer.java +++ b/app/src/main/java/app/grapheneos/pdfviewer/PdfViewer.java @@ -1,4 +1,4 @@ -package org.grapheneos.pdfviewer; +package app.grapheneos.pdfviewer; import android.annotation.SuppressLint; import android.app.Activity; @@ -36,10 +36,10 @@ import androidx.loader.content.Loader; import com.google.android.material.snackbar.Snackbar; -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; diff --git a/app/src/main/java/org/grapheneos/pdfviewer/Utils.java b/app/src/main/java/app/grapheneos/pdfviewer/Utils.java similarity index 99% rename from app/src/main/java/org/grapheneos/pdfviewer/Utils.java rename to app/src/main/java/app/grapheneos/pdfviewer/Utils.java index ffc8411..0e7ae24 100644 --- a/app/src/main/java/org/grapheneos/pdfviewer/Utils.java +++ b/app/src/main/java/app/grapheneos/pdfviewer/Utils.java @@ -1,4 +1,4 @@ -package org.grapheneos.pdfviewer; +package app.grapheneos.pdfviewer; import android.text.TextUtils; diff --git a/app/src/main/java/org/grapheneos/pdfviewer/fragment/DocumentPropertiesFragment.java b/app/src/main/java/app/grapheneos/pdfviewer/fragment/DocumentPropertiesFragment.java similarity index 96% rename from app/src/main/java/org/grapheneos/pdfviewer/fragment/DocumentPropertiesFragment.java rename to app/src/main/java/app/grapheneos/pdfviewer/fragment/DocumentPropertiesFragment.java index 851d9d5..47f039b 100644 --- a/app/src/main/java/org/grapheneos/pdfviewer/fragment/DocumentPropertiesFragment.java +++ b/app/src/main/java/app/grapheneos/pdfviewer/fragment/DocumentPropertiesFragment.java @@ -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; diff --git a/app/src/main/java/org/grapheneos/pdfviewer/fragment/JumpToPageFragment.java b/app/src/main/java/app/grapheneos/pdfviewer/fragment/JumpToPageFragment.java similarity index 96% rename from app/src/main/java/org/grapheneos/pdfviewer/fragment/JumpToPageFragment.java rename to app/src/main/java/app/grapheneos/pdfviewer/fragment/JumpToPageFragment.java index 5441b15..ce9f28d 100644 --- a/app/src/main/java/org/grapheneos/pdfviewer/fragment/JumpToPageFragment.java +++ b/app/src/main/java/app/grapheneos/pdfviewer/fragment/JumpToPageFragment.java @@ -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"; diff --git a/app/src/main/java/org/grapheneos/pdfviewer/loader/DocumentPropertiesLoader.java b/app/src/main/java/app/grapheneos/pdfviewer/loader/DocumentPropertiesLoader.java similarity index 97% rename from app/src/main/java/org/grapheneos/pdfviewer/loader/DocumentPropertiesLoader.java rename to app/src/main/java/app/grapheneos/pdfviewer/loader/DocumentPropertiesLoader.java index 0b341ca..d9f2e62 100644 --- a/app/src/main/java/org/grapheneos/pdfviewer/loader/DocumentPropertiesLoader.java +++ b/app/src/main/java/app/grapheneos/pdfviewer/loader/DocumentPropertiesLoader.java @@ -1,4 +1,4 @@ -package org.grapheneos.pdfviewer.loader; +package app.grapheneos.pdfviewer.loader; import android.content.Context; import android.database.Cursor; @@ -19,8 +19,8 @@ import java.text.ParseException; import java.util.ArrayList; import java.util.List; -import org.grapheneos.pdfviewer.R; -import org.grapheneos.pdfviewer.Utils; +import app.grapheneos.pdfviewer.R; +import app.grapheneos.pdfviewer.Utils; public class DocumentPropertiesLoader extends AsyncTaskLoader> { public static final String TAG = "DocumentPropertiesLoader";