Files
rr3-apk/decompiled-community/sources/com/vungle/ads/internal/ui/WatermarkView.java
Daniel Elliott c080f0d97f 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
2026-02-18 15:48:36 -08:00

29 lines
1.2 KiB
Java

package com.vungle.ads.internal.ui;
import android.content.Context;
import android.graphics.BitmapFactory;
import android.graphics.Shader;
import android.graphics.drawable.BitmapDrawable;
import android.util.Base64;
import android.widget.ImageView;
import kotlin.jvm.internal.Intrinsics;
/* loaded from: classes4.dex */
public class WatermarkView extends ImageView {
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public WatermarkView(Context context, String watermark) {
super(context);
Intrinsics.checkNotNullParameter(context, "context");
Intrinsics.checkNotNullParameter(watermark, "watermark");
byte[] overlayBytes = Base64.decode(watermark, 0);
Intrinsics.checkNotNullExpressionValue(overlayBytes, "overlayBytes");
BitmapDrawable bitmapDrawable = new BitmapDrawable(context.getResources(), BitmapFactory.decodeByteArray(overlayBytes, 0, overlayBytes.length));
Shader.TileMode tileMode = Shader.TileMode.REPEAT;
bitmapDrawable.setTileModeXY(tileMode, tileMode);
bitmapDrawable.setTargetDensity(context.getResources().getDisplayMetrics());
setBackground(bitmapDrawable);
setClickable(false);
setFocusable(false);
}
}