Use browser for Gmail OAuth

This commit is contained in:
M66B
2019-12-30 12:32:13 +01:00
parent eb28fb237d
commit a8d2f955ab

View File

@@ -213,7 +213,8 @@ public class FragmentOAuth extends FragmentBase {
Browsers.SBrowser.SIGNATURE_SET,
true,
VersionRange.atMost("5.3"));
return !sbrowser.matches(descriptor);
return (!sbrowser.matches(descriptor) &&
(!"gmail".equals(provider.id) || !descriptor.useCustomTab));
}
})
.build();