Files
rr3-apk/decompiled-community/sources/com/fyber/inneractive/sdk/mraid/d.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

66 lines
2.6 KiB
Java

package com.fyber.inneractive.sdk.mraid;
import android.content.ActivityNotFoundException;
import android.content.Context;
import android.content.Intent;
import com.fyber.inneractive.sdk.util.IAlog;
import com.fyber.inneractive.sdk.util.p0;
import com.fyber.inneractive.sdk.web.j;
import com.google.android.gms.drive.DriveFile;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.Map;
/* loaded from: classes2.dex */
public final class d extends a {
public d(LinkedHashMap linkedHashMap, com.fyber.inneractive.sdk.web.j jVar, p0 p0Var) {
super(linkedHashMap, jVar, p0Var);
}
@Override // com.fyber.inneractive.sdk.mraid.a
public final String c() {
return null;
}
@Override // com.fyber.inneractive.sdk.mraid.b
public final void a() {
com.fyber.inneractive.sdk.web.j jVar = this.c;
Map<String, String> map = this.b;
Context l = jVar.l();
if (!com.fyber.inneractive.sdk.util.m.p()) {
IAlog.a("createCalendarEvent supported for devices post-ICS", new Object[0]);
jVar.a(g.CREATE_CALENDAR_EVENT, "Action is unsupported on this device (need Android version Ice Cream Sandwich or above)");
return;
}
try {
HashMap a = com.fyber.inneractive.sdk.web.j.a(map);
Intent type = new Intent("android.intent.action.INSERT").setType("vnd.android.cursor.item/event");
for (String str : a.keySet()) {
Object obj = a.get(str);
if (obj instanceof Long) {
type.putExtra(str, ((Long) obj).longValue());
} else if (obj instanceof Integer) {
type.putExtra(str, ((Integer) obj).intValue());
} else {
type.putExtra(str, (String) obj);
}
}
type.setFlags(DriveFile.MODE_READ_ONLY);
l.startActivity(type);
L l2 = jVar.g;
if (l2 != 0) {
((j.f) l2).a();
}
} catch (ActivityNotFoundException unused) {
IAlog.a("There is no calendar app installed!", new Object[0]);
jVar.a(g.CREATE_CALENDAR_EVENT, "Action is unsupported on this device - no calendar app installed");
} catch (IllegalArgumentException e) {
IAlog.a("invalid parameters for create calendar ", e.getMessage());
jVar.a(g.CREATE_CALENDAR_EVENT, e.getMessage());
} catch (Exception unused2) {
IAlog.a("Failed to create calendar event.", new Object[0]);
jVar.a(g.CREATE_CALENDAR_EVENT, "could not create calendar event");
}
}
}