- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
56 lines
1.5 KiB
Java
56 lines
1.5 KiB
Java
package com.ironsource;
|
|
|
|
import android.content.Context;
|
|
import android.view.View;
|
|
import android.widget.FrameLayout;
|
|
import com.ironsource.sdk.utils.Logger;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public final class cg extends FrameLayout {
|
|
private final String a;
|
|
private a b;
|
|
|
|
public interface a {
|
|
void a(fu fuVar);
|
|
}
|
|
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
public cg(Context context) {
|
|
super(context);
|
|
Intrinsics.checkNotNullParameter(context, "context");
|
|
this.a = "ISNNativeAdContainer";
|
|
}
|
|
|
|
private final fu a() {
|
|
return new fu(getVisibility() == 0, getWindowVisibility() == 0, isShown());
|
|
}
|
|
|
|
public final a getListener$mediationsdk_release() {
|
|
return this.b;
|
|
}
|
|
|
|
@Override // android.view.View
|
|
public void onVisibilityChanged(View changedView, int i) {
|
|
Intrinsics.checkNotNullParameter(changedView, "changedView");
|
|
Logger.i(this.a, "onVisibilityChanged: " + i);
|
|
a aVar = this.b;
|
|
if (aVar != null) {
|
|
aVar.a(a());
|
|
}
|
|
}
|
|
|
|
@Override // android.view.View
|
|
public void onWindowVisibilityChanged(int i) {
|
|
Logger.i(this.a, "onWindowVisibilityChanged: " + i);
|
|
a aVar = this.b;
|
|
if (aVar != null) {
|
|
aVar.a(a());
|
|
}
|
|
}
|
|
|
|
public final void setListener$mediationsdk_release(a aVar) {
|
|
this.b = aVar;
|
|
}
|
|
}
|