From 7a9cacc5ae921666544994a987a0bb96859f6cdb Mon Sep 17 00:00:00 2001 From: tibbi Date: Wed, 31 Jul 2019 12:23:23 +0200 Subject: [PATCH] add the sideloading check in ReadText activity too --- .../filemanager/pro/activities/ReadTextActivity.kt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/src/main/kotlin/com/simplemobiletools/filemanager/pro/activities/ReadTextActivity.kt b/app/src/main/kotlin/com/simplemobiletools/filemanager/pro/activities/ReadTextActivity.kt index 8a56023c..cd0714f3 100644 --- a/app/src/main/kotlin/com/simplemobiletools/filemanager/pro/activities/ReadTextActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/filemanager/pro/activities/ReadTextActivity.kt @@ -35,6 +35,10 @@ class ReadTextActivity : SimpleActivity() { super.onCreate(savedInstanceState) setContentView(R.layout.activity_read_text) + if (checkAppSideloading()) { + return + } + handlePermission(PERMISSION_WRITE_STORAGE) { if (it) { checkIntent()