package com.discord.utilities.images; import android.content.Context; import c.a.k.b; import c.a.q.m0.c.e; import com.discord.R; import d0.z.d.m; import d0.z.d.o; import kotlin.Unit; import kotlin.jvm.functions.Function1; /* compiled from: MGImages.kt */ public final class MGImages$requestImageCrop$1 extends o implements Function1 { public final /* synthetic */ Context $context; /* JADX INFO: super call moved to the top of the method (can break code semantics) */ public MGImages$requestImageCrop$1(Context context) { super(1); this.$context = context; } /* Return type fixed from 'java.lang.Object' to match base method */ /* JADX DEBUG: Method arguments types fixed to match base method, original types: [java.lang.Object] */ @Override // kotlin.jvm.functions.Function1 public /* bridge */ /* synthetic */ Unit invoke(Exception exc) { invoke(exc); return Unit.a; } public final void invoke(Exception exc) { m.checkNotNullParameter(exc, e.a); Context context = this.$context; c.a.d.m.h(context, context != null ? b.h(context, R.string.unable_to_open_media_chooser, new Object[]{exc.getMessage()}, null, 4) : null, 0, null, 12); } }