mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-28 01:52:26 -06:00
15 lines
517 B
Java
15 lines
517 B
Java
package io.sentry;
|
|
|
|
import java.util.Locale;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public final class DsnUtil {
|
|
public static boolean urlContainsDsnHost(SentryOptions sentryOptions, String str) {
|
|
String dsn;
|
|
String host;
|
|
if (sentryOptions == null || str == null || (dsn = sentryOptions.getDsn()) == null || (host = new Dsn(dsn).getSentryUri().getHost()) == null) {
|
|
return false;
|
|
}
|
|
return str.toLowerCase(Locale.ROOT).contains(host.toLowerCase(Locale.ROOT));
|
|
}
|
|
}
|