Skip to content

Commit 41a2924

Browse files
committed
Remove the PDF viewer
PDF viewer will be developed as a separate app.
1 parent f809f4b commit 41a2924

File tree

54 files changed

+3
-355
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+3
-355
lines changed

app/build.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ dependencies {
9393
implementation(libs.fossify.commons)
9494
implementation(libs.androidx.documentfile)
9595
implementation(libs.androidx.swiperefreshlayout)
96-
implementation(libs.androidpdfviewer)
9796
implementation(libs.roottools)
9897
implementation(libs.rootshell)
9998
implementation(libs.gestureviews)

app/src/main/AndroidManifest.xml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -100,20 +100,6 @@
100100
</intent-filter>
101101
</activity>
102102

103-
<activity
104-
android:name=".activities.PDFViewerActivity"
105-
android:configChanges="orientation|keyboardHidden|screenSize"
106-
android:exported="true"
107-
android:label="@string/pdf_viewer"
108-
android:theme="@style/TranslucentTheme">
109-
110-
<intent-filter>
111-
<action android:name="android.intent.action.VIEW" />
112-
<category android:name="android.intent.category.DEFAULT" />
113-
<data android:mimeType="application/pdf" />
114-
</intent-filter>
115-
</activity>
116-
117103
<activity
118104
android:name="org.fossify.filemanager.activities.DecompressActivity"
119105
android:configChanges="orientation"

app/src/main/kotlin/org/fossify/filemanager/activities/MainActivity.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -618,8 +618,7 @@ class MainActivity : SimpleActivity() {
618618
}
619619

620620
private fun launchAbout() {
621-
val licenses =
622-
LICENSE_GLIDE or LICENSE_PATTERN or LICENSE_REPRINT or LICENSE_GESTURE_VIEWS or LICENSE_PDF_VIEWER or LICENSE_AUTOFITTEXTVIEW or LICENSE_ZIP4J
621+
val licenses = LICENSE_GLIDE or LICENSE_PATTERN or LICENSE_REPRINT or LICENSE_GESTURE_VIEWS or LICENSE_AUTOFITTEXTVIEW or LICENSE_ZIP4J
623622

624623
val faqItems = arrayListOf(
625624
FAQItem(R.string.faq_3_title_commons, R.string.faq_3_text_commons),

app/src/main/kotlin/org/fossify/filemanager/activities/PDFViewerActivity.kt

Lines changed: 0 additions & 185 deletions
This file was deleted.

app/src/main/kotlin/org/fossify/filemanager/helpers/PdfDocumentAdapter.kt

Lines changed: 0 additions & 63 deletions
This file was deleted.

app/src/main/res/layout/activity_pdf_viewer.xml

Lines changed: 0 additions & 39 deletions
This file was deleted.

app/src/main/res/values-ar/strings.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
<string name="rooted_device_only">تعمل هذه العملية فقط على الأجهزة المتجذرة</string>
1313
<string name="recents">الأحدث</string>
1414
<string name="show_recents">إظهار الأحدث</string>
15-
<string name="pdf_viewer">عارض PDF</string>
1615
<string name="invert_colors">عكس الألوان</string>
1716
<!-- Open as -->
1817
<string name="open_as">Open as</string>

app/src/main/res/values-az/strings.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
<string name="rooted_device_only">Bu əməliyyat yalnız root\'lu cihazlarda işləyir</string>
1313
<string name="recents">Recents</string>
1414
<string name="show_recents">Show recents</string>
15-
<string name="pdf_viewer">PDF Viewer</string>
1615
<string name="invert_colors">Invert colors</string>
1716

1817
<!-- Open as -->

app/src/main/res/values-be/strings.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
<string name="rooted_device_only">Гэтая аперацыя працуе толькі на каранёвых прыладах</string>
1313
<string name="recents">Апошнія</string>
1414
<string name="show_recents">Паказаць апошнія</string>
15-
<string name="pdf_viewer">Праграма прагляду PDF</string>
1615
<string name="invert_colors">Інвертаваць колеры</string>
1716
<!-- Open as -->
1817
<string name="open_as">Адкрыць як</string>

app/src/main/res/values-bg/strings.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
<string name="rooted_device_only">Тази операция работи само на root устройства</string>
1313
<string name="recents">Скорошни</string>
1414
<string name="show_recents">Показване на скорошни</string>
15-
<string name="pdf_viewer">PDF Визуализатор</string>
1615
<string name="invert_colors">Обръщане на цветове</string>
1716
<!-- Open as -->
1817
<string name="open_as">Отвори като</string>

0 commit comments

Comments
 (0)