diff --git a/app/test/src/main/java/com/topjohnwu/magisk/test/AppMigrationTest.kt b/app/test/src/main/java/com/topjohnwu/magisk/test/AppMigrationTest.kt index 7123d47eb..2e1cdc637 100644 --- a/app/test/src/main/java/com/topjohnwu/magisk/test/AppMigrationTest.kt +++ b/app/test/src/main/java/com/topjohnwu/magisk/test/AppMigrationTest.kt @@ -22,7 +22,8 @@ class AppMigrationTest { companion object { private const val APP_PKG = "com.topjohnwu.magisk" private const val STUB_PKG = "repackaged.$APP_PKG" - private const val RECEIVER_TIMEOUT = 20L + // First launch may compile the hidden app's dynamic APK before uninstalling. + private const val RECEIVER_TIMEOUT = 30L } private val instrumentation get() = InstrumentationRegistry.getInstrumentation()