Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 83c90328 authored by Romain Hunault's avatar Romain Hunault
Browse files

Delete package name verification

parent 3a4002f7
Loading
Loading
Loading
Loading
+0 −8
Original line number Diff line number Diff line
@@ -50,14 +50,6 @@ abstract class BaseSimpleActivity : AppCompatActivity() {
        }

        super.onCreate(savedInstanceState)
        if (!packageName.startsWith("com.simplemobiletools.", true)) {
            if ((0..50).random() == 10 || baseConfig.appRunCount % 100 == 0) {
                val label = "You are using a fake version of the app. For your own safety download the original one from www.simplemobiletools.com. Thanks"
                ConfirmationDialog(this, label, positive = R.string.ok, negative = 0) {
                    launchViewIntent("https://play.google.com/store/apps/dev?id=9070296388022589266")
                }
            }
        }
    }

    override fun onResume() {