diff --git a/core/common/src/main/kotlin/eu/kanade/tachiyomi/util/system/DeviceUtil.kt b/core/common/src/main/kotlin/eu/kanade/tachiyomi/util/system/DeviceUtil.kt index 821545760..532772736 100644 --- a/core/common/src/main/kotlin/eu/kanade/tachiyomi/util/system/DeviceUtil.kt +++ b/core/common/src/main/kotlin/eu/kanade/tachiyomi/util/system/DeviceUtil.kt @@ -62,11 +62,25 @@ object DeviceUtil { } } + /** + * A list of package names that may be incorrectly resolved as usable browsers by + * the system. + * + * If these are resolved for [android.content.Intent.ACTION_VIEW], it prevents the + * system from opening a proper browser or any usable app . + * + * Some of them may only be present on certain manufacturer's devices. + */ val invalidDefaultBrowsers = listOf( "android", + // Honor "com.hihonor.android.internal.app", + // Huawei "com.huawei.android.internal.app", + // Lenovo "com.zui.resolver", + // Infinix + "com.transsion.resolver", ) /**