91快播 v3.3.0版本的 MD5 值为:094b9519ad2388a8147509cb8a126145
以下内容为反编译后的 AbstractApplicationC7572.java 源代码,内容仅作参考
package anta.㜛;
import android.app.Application;
import android.app.NotificationManager;
import android.content.Context;
import android.content.pm.ApplicationInfo;
import android.net.Uri;
import android.os.Build;
import android.text.TextUtils;
import android.util.Log;
import android.view.Gravity;
import android.webkit.WebSettings;
import android.widget.TextView;
import android.widget.Toast;
import anta.ȉ.C0418;
import anta.ʂ.C0518;
import anta.ղ.C1144;
import anta.ղ.C1145;
import anta.ق.C1263;
import anta.ࡅ.C1445;
import anta.ࡅ.C1446;
import anta.ࡅ.C1447;
import anta.ࡅ.HandlerC1450;
import anta.ಝ.C1951;
import anta.ฬ.C2172;
import anta.ຍ.C2176;
import anta.ᆠ.AbstractC2699;
import anta.ላ.C2897;
import anta.ላ.C2899;
import anta.ላ.C2906;
import anta.ላ.InterfaceC2898;
import anta.ዚ.C3186;
import anta.ዚ.InterfaceC3158;
import anta.Ꮩ.C3335;
import anta.ᐚ.C3434;
import anta.ᕐ.C3809;
import anta.ᦦ.C4779;
import anta.ᦦ.InterfaceC4774;
import anta.ᨀ.C4810;
import anta.ᰣ.C5078;
import anta.ỹ.C5654;
import anta.ỹ.InterfaceC5663;
import anta.⁀.C5932;
import anta.⁀.C5937;
import anta.⁀.InterfaceC5897;
import anta.⁀.InterfaceC5916;
import anta.₼.InterfaceC5977;
import anta.ⵅ.C6444;
import anta.ㇲ.C6942;
import anta.㑶.C7136;
import anta.㕕.C7315;
import anta.㘥.C7435;
import anta.㘨.C7442;
import anta.㟣.C7840;
import anta.㟼.C7915;
import anta.㟼.InterfaceC7904;
import anta.㤩.C8219;
import anta.㤩.C8228;
import anta.㤴.C8240;
import anta.㨦.C8560;
import anta.㨦.C8561;
import anta.㬜.C8886;
import anta.㬜.C8890;
import anta.㬜.C8894;
import anta.㮌.C9125;
import anta.㼝.C10359;
import anta.㼝.C10368;
import anta.㾈.C10505;
import com.fanchen.imovie.IMovieAppliction;
import com.theway.abc.v2.nidongde.sg.db.SGRoomDatabase;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import java.util.Objects;
import java.util.Set;
import java.util.concurrent.Callable;
import java.util.zip.ZipInputStream;
import tv.danmaku.ijk.media.exo2.Exo2PlayerManager;
import tv.danmaku.ijk.media.exo2.ExoMediaSourceInterceptListener;
import tv.danmaku.ijk.media.exo2.ExoSourceManager;
import xyz.doikki.videoplayer.exo.ExoMediaPlayerFactory;
import xyz.doikki.videoplayer.player.VideoViewConfig;
import xyz.doikki.videoplayer.player.VideoViewManager;
public abstract class AbstractApplicationC7572 extends Application {
public static InterfaceC5916.InterfaceC5917 f16843;
public static ExoMediaSourceInterceptListener f16844;
public static InterfaceC5916.InterfaceC5917 f16845;
public static InterfaceC5916.InterfaceC5917 f16846;
public static InterfaceC5916.InterfaceC5917 f16847;
public static InterfaceC5916.InterfaceC5917 f16848;
public static ExoMediaSourceInterceptListener f16849;
public static InterfaceC5916.InterfaceC5917 f16850;
public static InterfaceC5916.InterfaceC5917 f16851;
public static ExoMediaSourceInterceptListener f16852;
public static ExoMediaSourceInterceptListener f16853;
public static ExoMediaSourceInterceptListener f16854;
public static InterfaceC5916.InterfaceC5917 f16855;
public static ExoMediaSourceInterceptListener f16856;
public static InterfaceC5916.InterfaceC5917 f16857;
public static ExoMediaSourceInterceptListener f16858;
public static ExoMediaSourceInterceptListener f16859;
public static InterfaceC5916.InterfaceC5917 f16860;
public static InterfaceC5916.InterfaceC5917 f16861;
public static InterfaceC5916.InterfaceC5917 f16862;
public static InterfaceC5916.InterfaceC5917 f16863;
public static ExoMediaSourceInterceptListener f16864;
public static String[] f16865;
public static ExoMediaSourceInterceptListener f16866;
public static ExoMediaSourceInterceptListener f16867;
public static AbstractApplicationC7572 f16868;
public static InterfaceC5916.InterfaceC5917 f16869;
public class C7573 implements ExoMediaSourceInterceptListener {
@Override
public InterfaceC5916.InterfaceC5917 getHttpDataSourceFactory(String str, InterfaceC5897 interfaceC5897, int i, int i2, Map<String, String> map, boolean z) {
return null;
}
@Override
public InterfaceC3158 getMediaSource(String str, boolean z, boolean z2, boolean z3, File file) {
InterfaceC4774 cacheSingleInstance = ExoSourceManager.getCacheSingleInstance(AbstractApplicationC7572.f16868, file);
C4779.C4781 c4781 = new C4779.C4781();
c4781.f11625 = cacheSingleInstance;
c4781.f11628 = new C5932(AbstractApplicationC7572.f16868, AbstractApplicationC7572.m6616());
c4781.f11627 = 2;
c4781.f11629 = AbstractApplicationC7572.m6616();
return new C8219.C8221(c4781).m7128(Uri.parse(str));
}
}
public class C7574 implements ExoMediaSourceInterceptListener {
@Override
public InterfaceC5916.InterfaceC5917 getHttpDataSourceFactory(String str, InterfaceC5897 interfaceC5897, int i, int i2, Map<String, String> map, boolean z) {
C2172 c2172 = new C2172(str, interfaceC5897, i, i2, z);
c2172.f13814.m5524(map);
return c2172;
}
@Override
public InterfaceC3158 getMediaSource(String str, boolean z, boolean z2, boolean z3, File file) {
return null;
}
}
static {
System.loadLibrary("player");
f16865 = new String[]{"過期提醒", "看百萬片,撸不停", "您的支持是我們的動力", "去充值", "開通 VIP 繼續觀看.", "去開通", "VIP會員已開通", "VIP會員已過期", "會員續費", "開通會員", "過期時間:", "溫馨提示", "當前視頻永久 VIP 專享\n請開通後繼續觀看"};
}
public static InterfaceC5916.InterfaceC5917 m6614() {
if (f16843 == null) {
f16843 = new C2172("Exo");
}
return f16843;
}
public static InterfaceC5916.InterfaceC5917 m6615() {
if (f16850 == null) {
f16850 = new C5932(f16868, (InterfaceC5897) null, new C10368.C10369());
}
return f16850;
}
public static InterfaceC5916.InterfaceC5917 m6616() {
if (f16847 == null) {
AbstractApplicationC7572 abstractApplicationC7572 = f16868;
C8228.C8229 c8229 = new C8228.C8229();
c8229.f18462 = "dd";
f16847 = new C5932(abstractApplicationC7572, (InterfaceC5897) null, c8229);
}
return f16847;
}
public static InterfaceC5916.InterfaceC5917 m6617() {
if (f16846 == null) {
AbstractApplicationC7572 abstractApplicationC7572 = f16868;
f16846 = new C5932(abstractApplicationC7572, C3335.m3503(abstractApplicationC7572, "ExoSourceManager/2.1.0 (Linux;Android 8.1.0) ExoPlayerLib/2.11.3"), (InterfaceC5897) null);
}
return f16846;
}
public static InterfaceC5916.InterfaceC5917 m6618() {
if (f16848 == null) {
f16848 = new C5932(f16868, (InterfaceC5897) null, new C8894.C8895());
}
return f16848;
}
public static InterfaceC3158 m6619(String str) {
InterfaceC4774 cacheSingleInstance = ExoSourceManager.getCacheSingleInstance(f16868, null);
C4779.C4781 c4781 = new C4779.C4781();
c4781.f11625 = cacheSingleInstance;
c4781.f11628 = new C5932(f16868, m6616());
c4781.f11627 = 2;
c4781.f11629 = m6616();
return new C8219.C8221(c4781).m7128(Uri.parse(str));
}
public static InterfaceC3158 m6620(String str) {
InterfaceC4774 cacheSingleInstance = ExoSourceManager.getCacheSingleInstance(f16868, null);
C4779.C4781 c4781 = new C4779.C4781();
c4781.f11625 = cacheSingleInstance;
c4781.f11628 = new C5932(f16868, m6618());
c4781.f11627 = 2;
c4781.f11629 = m6618();
C7915 c7915 = new C7915(c4781);
C5654 c5654 = new C5654();
InterfaceC2898 c8886 = new C8886();
C2899 c2899 = C2899.f7076;
InterfaceC7904 interfaceC7904 = InterfaceC7904.f17593;
C5937 c5937 = new C5937();
C3186 c3186 = new C3186();
List<C7136> emptyList = Collections.emptyList();
Uri parse = Uri.parse(str);
C3809.C3811 c3811 = new C3809.C3811();
c3811.f9673 = parse;
c3811.f9663 = "application/x-mpegURL";
C3809 m4095 = c3811.m4095();
Objects.requireNonNull(m4095.f9658);
if (!m4095.f9658.f9710.isEmpty()) {
emptyList = m4095.f9658.f9710;
}
if (!emptyList.isEmpty()) {
c8886 = new C2897(c8886, emptyList);
}
C3809.C3816 c3816 = m4095.f9658;
Object obj = c3816.f9713;
C3809 m8076 = c3816.f9710.isEmpty() && !emptyList.isEmpty() ? C9125.m8076(m4095, emptyList) : m4095;
InterfaceC5663 m5303 = c5654.m5303(m8076);
Objects.requireNonNull(c2899);
return new C8890(m8076, c7915, interfaceC7904, c3186, m5303, c5937, new C2906(c7915, c5937, c8886), -9223372036854775807L, false, 1, false, null);
}
public static ExoMediaSourceInterceptListener m6621() {
if (f16864 == null) {
f16864 = new C7574();
}
return f16864;
}
public static InterfaceC3158 m6622(String str) {
InterfaceC4774 cacheSingleInstance = ExoSourceManager.getCacheSingleInstance(f16868, null);
C4779.C4781 c4781 = new C4779.C4781();
c4781.f11625 = cacheSingleInstance;
c4781.f11628 = new C5932(f16868, m6617());
c4781.f11627 = 2;
c4781.f11629 = m6617();
return new C6942.C6944(c4781).m6081(Uri.parse(str));
}
public static InterfaceC3158 m6623(String str) {
InterfaceC4774 cacheSingleInstance = ExoSourceManager.getCacheSingleInstance(f16868, null);
C4779.C4781 c4781 = new C4779.C4781();
c4781.f11625 = cacheSingleInstance;
c4781.f11628 = new C5932(f16868, m6615());
c4781.f11627 = 2;
c4781.f11629 = m6615();
return new C10359.C10361(c4781).m8874(Uri.parse(str));
}
public static InterfaceC5916.InterfaceC5917 m6624() {
if (f16861 == null) {
AbstractApplicationC7572 abstractApplicationC7572 = f16868;
C4810.C4811 c4811 = new C4810.C4811();
c4811.f11797 = C1145.m1325();
f16861 = new C5932(abstractApplicationC7572, (InterfaceC5897) null, c4811);
}
return f16861;
}
public static ExoMediaSourceInterceptListener m6625() {
if (f16852 == null) {
f16852 = new C7573();
}
return f16852;
}
public static InterfaceC5977 m6626() {
SGRoomDatabase.C11167 c11167 = SGRoomDatabase.f26039;
AbstractApplicationC7572 abstractApplicationC7572 = f16868;
C7840.m6785(abstractApplicationC7572, "context");
SGRoomDatabase sGRoomDatabase = SGRoomDatabase.f26038;
if (sGRoomDatabase == null) {
synchronized (c11167) {
AbstractC2699.C2700 m5834 = C6444.m5834(abstractApplicationC7572.getApplicationContext(), SGRoomDatabase.class, "sg_database.db");
m5834.f6594 = new Callable() {
@Override
public final Object call() {
Log.d("SGRoomDatabase", "db first import data from zip file");
File file = new File(C1952.m2072());
if (!C1952.m2073()) {
Objects.requireNonNull(C5078.m4982());
C1263 c1263 = C5078.f12260;
c1263.f3660.putBoolean("sg_db_init_success", false);
c1263.f3660.apply();
}
ZipInputStream zipInputStream = new ZipInputStream(new FileInputStream(file));
zipInputStream.getNextEntry();
ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();
byte[] bArr = new byte[1024];
while (true) {
int read = zipInputStream.read(bArr);
if (read > 0) {
byteArrayOutputStream.write(bArr, 0, read);
} else {
ByteArrayInputStream byteArrayInputStream = new ByteArrayInputStream(byteArrayOutputStream.toByteArray());
byteArrayOutputStream.close();
zipInputStream.closeEntry();
zipInputStream.close();
return byteArrayInputStream;
}
}
}
};
C1951 c1951 = new C1951();
if (m5834.f6595 == null) {
m5834.f6595 = new ArrayList<>();
}
m5834.f6595.add(c1951);
m5834.f6598 = false;
m5834.f6596 = true;
AbstractC2699 m2775 = m5834.m2775();
C7840.m6789(m2775, "databaseBuilder(\n … .build()");
sGRoomDatabase = (SGRoomDatabase) m2775;
SGRoomDatabase.f26038 = sGRoomDatabase;
}
}
return sGRoomDatabase.mo11054();
}
public static InterfaceC5916.InterfaceC5917 m6627() {
if (f16860 == null) {
AbstractApplicationC7572 abstractApplicationC7572 = f16868;
C4810.C4811 c4811 = new C4810.C4811();
c4811.f11797 = C9125.m8101(new StringBuilder(), C3434.m3610().f8355, ";SuiRui/hp/ver=", "2.2.0");
f16860 = new C5932(abstractApplicationC7572, (InterfaceC5897) null, c4811);
}
return f16860;
}
public static InterfaceC5916.InterfaceC5917 m6628() {
if (f16855 == null) {
AbstractApplicationC7572 abstractApplicationC7572 = f16868;
f16855 = new C5932(abstractApplicationC7572, C3335.m3503(abstractApplicationC7572, "lt"), (InterfaceC5897) null);
}
return f16855;
}
public static InterfaceC5916.InterfaceC5917 m6629() {
if (f16845 == null) {
AbstractApplicationC7572 abstractApplicationC7572 = f16868;
C0518.C0519 c0519 = new C0518.C0519();
c0519.f2057 = "dd";
f16845 = new C5932(abstractApplicationC7572, (InterfaceC5897) null, c0519);
}
return f16845;
}
public static InterfaceC5916.InterfaceC5917 m6630() {
if (f16857 == null) {
AbstractApplicationC7572 abstractApplicationC7572 = f16868;
C4810.C4811 c4811 = new C4810.C4811();
c4811.f11797 = C1144.m1324();
f16857 = new C5932(abstractApplicationC7572, (InterfaceC5897) null, c4811);
}
return f16857;
}
@Override
public void attachBaseContext(Context context) {
ApplicationInfo applicationInfo;
super.attachBaseContext(context);
Set<File> set = C8240.f18483;
Log.i("MultiDex", "Installing application");
try {
if (C8240.f18484) {
Log.i("MultiDex", "VM has multidex support, MultiDex support library is disabled.");
} else {
try {
applicationInfo = getApplicationInfo();
} catch (RuntimeException e) {
Log.w("MultiDex", "Failure while trying to obtain ApplicationInfo from Context. Must be running in test mode. Skip patching.", e);
applicationInfo = null;
}
if (applicationInfo == null) {
Log.i("MultiDex", "No ApplicationInfo available, i.e. running on a test Context: MultiDex support library is disabled.");
} else {
C8240.m7204(this, new File(applicationInfo.sourceDir), new File(applicationInfo.dataDir), "secondary-dexes", "", true);
Log.i("MultiDex", "install done");
}
}
f16868 = this;
} catch (Exception e2) {
Log.e("MultiDex", "MultiDex installation failure", e2);
StringBuilder m8071 = C9125.m8071("MultiDex installation failed (");
m8071.append(e2.getMessage());
m8071.append(").");
throw new RuntimeException(m8071.toString());
}
}
@Override
public void onCreate() {
String m6450;
super.onCreate();
C3434.m3610().f8355 = WebSettings.getDefaultUserAgent(getApplicationContext());
C3434 m3610 = C3434.m3610();
String str = null;
try {
str = getApplicationContext().getString(((Integer) Class.forName("com.android.internal.R$string").getDeclaredField("web_user_agent").get(null)).intValue());
} catch (Exception unused) {
}
if (TextUtils.isEmpty(str)) {
str = "okhttp-okgo/jeasonlzy";
}
Locale locale = Locale.getDefault();
StringBuffer stringBuffer = new StringBuffer();
String str2 = Build.VERSION.RELEASE;
if (str2.length() > 0) {
stringBuffer.append(str2);
} else {
stringBuffer.append("1.0");
}
stringBuffer.append("; ");
String language = locale.getLanguage();
if (language == null) {
stringBuffer.append("en");
} else {
stringBuffer.append(language.toLowerCase(locale));
String country = locale.getCountry();
if (!TextUtils.isEmpty(country)) {
stringBuffer.append("-");
stringBuffer.append(country.toLowerCase(locale));
}
}
if ("REL".equals(Build.VERSION.CODENAME)) {
String str3 = Build.MODEL;
if (str3.length() > 0) {
stringBuffer.append("; ");
stringBuffer.append(str3);
}
}
String str4 = Build.ID;
if (str4.length() > 0) {
stringBuffer.append(" Build/");
stringBuffer.append(str4);
}
boolean z = false;
m3610.f8364 = String.format(str, stringBuffer, "Mobile ");
Objects.requireNonNull(C5078.m4982());
if (C5078.f12260.f3658.getString("sp_key_guan_wang_domain_list", "").isEmpty()) {
ArrayList arrayList = new ArrayList();
arrayList.add("https://qdkb0202pm.xyz");
arrayList.add("https://qdkb0202am.xyz");
String m774 = new C0418().m774(arrayList);
C1263 c1263 = C5078.f12260;
c1263.f3660.putString("sp_key_guan_wang_domain_list", m774);
c1263.f3660.commit();
}
C7435.m6508(new C8560(this));
if (C7435.f16657 == null) {
C7435.f16657 = new C1447();
}
if (C7435.f16660 == null) {
HandlerC1450 handlerC1450 = new HandlerC1450();
C7435.f16660 = handlerC1450;
Toast toast = C7435.f16661;
if (toast != null) {
handlerC1450.f3992 = toast;
}
}
if (C7435.f16658 == null) {
C7435.m6508(new C8561(this));
}
if (((NotificationManager) getSystemService("notification")).areNotificationsEnabled()) {
C7435.m6470(new C1445(this));
} else {
C7435.m6470(new C1446(this));
}
TextView m6476 = C7435.m6476(getApplicationContext());
C7435.m6495();
if (m6476.getContext() instanceof Application) {
Toast toast2 = C7435.f16661;
if (toast2 != null) {
toast2.cancel();
C7435.f16661.setView(m6476);
}
Objects.requireNonNull(C7435.f16658);
Objects.requireNonNull(C7435.f16658);
Objects.requireNonNull(C7435.f16658);
C7435.m6495();
C7435.f16661.setGravity(Gravity.getAbsoluteGravity(17, C7435.f16661.getView().getResources().getConfiguration().getLayoutDirection()), 0, 0);
String str5 = "88c";
try {
m6450 = C7435.m6450(((IMovieAppliction) this).getApplicationContext());
Log.d("FA", "channel " + m6450);
} catch (Exception unused2) {
C7315.f16453 = "88c";
}
if (m6450 != null && !m6450.equals("")) {
if (m6450.contains(";")) {
C7315.f16453 = m6450.substring(m6450.indexOf(";") + 1, m6450.length());
} else {
C7315.f16453 = m6450;
}
str5 = m6450;
C7315.f16453 = str5;
if ((getApplicationInfo().flags & 2) != 0) {
z = true;
}
C7442.f16670 = z;
C2176.f5467 = new C7568(this);
C10505.f23578 = Exo2PlayerManager.class;
VideoViewManager.setConfig(VideoViewConfig.newBuilder().setPlayerFactory(ExoMediaPlayerFactory.create()).build());
return;
}
C7315.f16453 = "88c";
C7315.f16453 = str5;
if ((getApplicationInfo().flags & 2) != 0) {
}
C7442.f16670 = z;
C2176.f5467 = new C7568(this);
C10505.f23578 = Exo2PlayerManager.class;
VideoViewManager.setConfig(VideoViewConfig.newBuilder().setPlayerFactory(ExoMediaPlayerFactory.create()).build());
return;
}
throw new IllegalArgumentException("The view must be initialized using the context of the application");
}
}