- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
49 lines
1.6 KiB
Java
49 lines
1.6 KiB
Java
package com.applovin.impl;
|
|
|
|
import android.app.Activity;
|
|
import android.os.Bundle;
|
|
import com.applovin.communicator.AppLovinCommunicator;
|
|
import com.applovin.communicator.AppLovinCommunicatorMessage;
|
|
import com.applovin.communicator.AppLovinCommunicatorSubscriber;
|
|
import com.applovin.sdk.R;
|
|
import java.util.ArrayList;
|
|
import java.util.List;
|
|
|
|
/* loaded from: classes.dex */
|
|
public abstract class se extends Activity implements AppLovinCommunicatorSubscriber {
|
|
protected List<String> communicatorTopics = new ArrayList();
|
|
|
|
public abstract com.applovin.impl.sdk.j getSdk();
|
|
|
|
public void onMessageReceived(AppLovinCommunicatorMessage appLovinCommunicatorMessage) {
|
|
}
|
|
|
|
@Override // android.app.Activity
|
|
public void onCreate(Bundle bundle) {
|
|
super.onCreate(bundle);
|
|
if (getSdk() != null && !yp.c(getSdk())) {
|
|
setTheme(R.style.com_applovin_mediation_MaxDebuggerActivity_Theme_Live);
|
|
}
|
|
List<String> list = this.communicatorTopics;
|
|
if (list == null || list.size() <= 0) {
|
|
return;
|
|
}
|
|
AppLovinCommunicator.getInstance(this).subscribe(this, this.communicatorTopics);
|
|
}
|
|
|
|
@Override // android.app.Activity
|
|
public void onDestroy() {
|
|
super.onDestroy();
|
|
List<String> list = this.communicatorTopics;
|
|
if (list == null || list.size() <= 0) {
|
|
return;
|
|
}
|
|
AppLovinCommunicator.getInstance(this).unsubscribe(this, this.communicatorTopics);
|
|
}
|
|
|
|
@Override // com.applovin.communicator.AppLovinCommunicatorEntity
|
|
public String getCommunicatorId() {
|
|
return getClass().getSimpleName();
|
|
}
|
|
}
|