Disable custom tabs for Brave

This commit is contained in:
M66B 2023-08-28 13:19:28 +02:00
parent 25eb09c89a
commit 510e8b4fa3
1 changed files with 3 additions and 0 deletions

View File

@ -464,6 +464,9 @@ public class FragmentOAuth extends FragmentBase {
if (descriptor.useCustomTab && !tabs)
accept = false;
if ("com.brave.browser".equals(descriptor.packageName) && Boolean.TRUE.equals(descriptor.useCustomTab))
accept = false;
EntityLog.log(context,
"OAuth browser=" + descriptor.packageName +
":" + descriptor.version +