From 3665ec19984b817a2d15a124f021be525dc900a8 Mon Sep 17 00:00:00 2001 From: Naveen Date: Wed, 10 Jan 2024 16:35:47 +0530 Subject: [PATCH] Remove package checks --- .../org/fossify/gallery/activities/EditActivity.kt | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/app/src/main/kotlin/org/fossify/gallery/activities/EditActivity.kt b/app/src/main/kotlin/org/fossify/gallery/activities/EditActivity.kt index c881f8a45..17fdb78e1 100644 --- a/app/src/main/kotlin/org/fossify/gallery/activities/EditActivity.kt +++ b/app/src/main/kotlin/org/fossify/gallery/activities/EditActivity.kt @@ -28,7 +28,6 @@ import com.canhub.cropper.CropImageView import com.zomato.photofilters.FilterPack import com.zomato.photofilters.imageprocessors.Filter import org.fossify.commons.dialogs.ColorPickerDialog -import org.fossify.commons.dialogs.ConfirmationDialog import org.fossify.commons.extensions.* import org.fossify.commons.helpers.NavigationIcon import org.fossify.commons.helpers.REAL_FILE_PATH @@ -881,19 +880,6 @@ class EditActivity : SimpleActivity(), CropImageView.OnCropImageCompleteListener } private fun saveBitmapToFile(bitmap: Bitmap, path: String, showSavingToast: Boolean) { - if (!packageName.contains("slootelibomelpmis".reversed(), true)) { - if (baseConfig.appRunCount > 100) { - val label = - "sknahT .moc.slootelibomelpmis.www morf eno lanigiro eht daolnwod ytefas nwo ruoy roF .ppa eht fo noisrev ekaf a gnisu era uoY".reversed() - runOnUiThread { - ConfirmationDialog(this, label, positive = org.fossify.commons.R.string.ok, negative = 0) { - launchViewIntent("6629852208836920709=di?ved/sppa/erots/moc.elgoog.yalp//:sptth".reversed()) - } - } - return - } - } - try { ensureBackgroundThread { val file = File(path)