Add Discord community version (64-bit only)

- 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
This commit is contained in:
2026-02-18 15:48:36 -08:00
parent c19eb3d7ff
commit c080f0d97f
26930 changed files with 2529574 additions and 0 deletions

View File

@@ -0,0 +1,86 @@
package com.unity3d.services.ads.adunit;
import android.os.Bundle;
import android.view.View;
import android.widget.RelativeLayout;
import com.unity3d.services.ads.api.VideoPlayer;
import com.unity3d.services.ads.video.VideoPlayerView;
import com.unity3d.services.core.log.DeviceLog;
import com.unity3d.services.core.misc.ViewUtilities;
/* loaded from: classes4.dex */
public class VideoPlayerHandler implements IAdUnitViewHandler {
private RelativeLayout _videoContainer;
private VideoPlayerView _videoView;
@Override // com.unity3d.services.ads.adunit.IAdUnitViewHandler
public View getView() {
return this._videoContainer;
}
@Override // com.unity3d.services.ads.adunit.IAdUnitViewHandler
public void onDestroy(IAdUnitActivity iAdUnitActivity) {
}
@Override // com.unity3d.services.ads.adunit.IAdUnitViewHandler
public void onResume(IAdUnitActivity iAdUnitActivity) {
}
@Override // com.unity3d.services.ads.adunit.IAdUnitViewHandler
public void onStart(IAdUnitActivity iAdUnitActivity) {
}
@Override // com.unity3d.services.ads.adunit.IAdUnitViewHandler
public void onStop(IAdUnitActivity iAdUnitActivity) {
}
@Override // com.unity3d.services.ads.adunit.IAdUnitViewHandler
public boolean create(IAdUnitActivity iAdUnitActivity) {
DeviceLog.entered();
if (this._videoContainer == null) {
this._videoContainer = new RelativeLayout(iAdUnitActivity.getContext());
}
if (this._videoView != null) {
return true;
}
this._videoView = new VideoPlayerView(iAdUnitActivity.getContext());
RelativeLayout.LayoutParams layoutParams = new RelativeLayout.LayoutParams(-1, -1);
layoutParams.addRule(13);
this._videoView.setLayoutParams(layoutParams);
this._videoContainer.addView(this._videoView);
VideoPlayer.setVideoPlayerView(this._videoView);
return true;
}
@Override // com.unity3d.services.ads.adunit.IAdUnitViewHandler
public boolean destroy() {
DeviceLog.entered();
VideoPlayerView videoPlayerView = this._videoView;
if (videoPlayerView != null) {
videoPlayerView.stopVideoProgressTimer();
this._videoView.stopPlayback();
ViewUtilities.removeViewFromParent(this._videoView);
if (this._videoView.equals(VideoPlayer.getVideoPlayerView())) {
VideoPlayer.setVideoPlayerView(null);
}
this._videoView = null;
}
RelativeLayout relativeLayout = this._videoContainer;
if (relativeLayout == null) {
return true;
}
ViewUtilities.removeViewFromParent(relativeLayout);
this._videoContainer = null;
return true;
}
@Override // com.unity3d.services.ads.adunit.IAdUnitViewHandler
public void onCreate(IAdUnitActivity iAdUnitActivity, Bundle bundle) {
create(iAdUnitActivity);
}
@Override // com.unity3d.services.ads.adunit.IAdUnitViewHandler
public void onPause(IAdUnitActivity iAdUnitActivity) {
destroy();
}
}