mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-11-16 10:57:17 +01:00
32 lines
1.3 KiB
Java
32 lines
1.3 KiB
Java
package androidx.webkit.internal;
|
|
|
|
import java.net.URLConnection;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
/* loaded from: classes14.dex */
|
|
class MimeUtil {
|
|
public static String getMimeFromFileName(String str) {
|
|
if (str == null) {
|
|
return null;
|
|
}
|
|
String guessContentTypeFromName = URLConnection.guessContentTypeFromName(str);
|
|
return guessContentTypeFromName != null ? guessContentTypeFromName : guessHardcodedMime(str);
|
|
}
|
|
|
|
/* JADX WARN: Can't fix incorrect switch cases order, some code will duplicate */
|
|
/* JADX WARN: Code restructure failed: missing block: B:50:0x0050, code lost:
|
|
|
|
if (r5.equals("mhtml") == false) goto L7;
|
|
*/
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
private static java.lang.String guessHardcodedMime(java.lang.String r5) {
|
|
/*
|
|
Method dump skipped, instructions count: 1126
|
|
To view this dump add '--comments-level debug' option
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: androidx.webkit.internal.MimeUtil.guessHardcodedMime(java.lang.String):java.lang.String");
|
|
}
|
|
}
|