@@ -4,7 +4,6 @@ import android.content.Context
44import android.graphics.Color
55import android.graphics.drawable.ColorDrawable
66import android.os.Bundle
7- import android.os.Handler
87import android.print.PrintAttributes
98import android.print.PrintManager
109import android.view.Menu
@@ -19,11 +18,9 @@ import com.simplemobiletools.commons.helpers.isRPlus
1918import com.simplemobiletools.filemanager.pro.R
2019import com.simplemobiletools.filemanager.pro.extensions.hideSystemUI
2120import com.simplemobiletools.filemanager.pro.extensions.showSystemUI
22- import com.simplemobiletools.filemanager.pro.helpers.HIDE_SYSTEM_UI_DELAY
2321import com.simplemobiletools.filemanager.pro.helpers.PdfDocumentAdapter
2422import kotlinx.android.synthetic.main.activity_pdf_viewer.*
2523
26-
2724class PDFViewerActivity : SimpleActivity () {
2825 private var realFilePath = " "
2926 private var isFullScreen = false
@@ -95,10 +92,6 @@ class PDFViewerActivity : SimpleActivity() {
9592 showSystemUI(true )
9693
9794 pdf_viewer_wrapper.onGlobalLayout {
98- Handler (mainLooper).postDelayed({
99- toggleFullScreen()
100- }, HIDE_SYSTEM_UI_DELAY )
101-
10295 val filename = getFilenameFromUri(uri)
10396 if (filename.isNotEmpty()) {
10497 supportActionBar?.title = filename
0 commit comments