28 lines
1.2 KiB
Java
28 lines
1.2 KiB
Java
package com.discord.utilities;
|
|
|
|
import android.content.pm.ShortcutInfo;
|
|
import d0.z.d.m;
|
|
import d0.z.d.o;
|
|
import kotlin.jvm.functions.Function1;
|
|
/* compiled from: ShareUtils.kt */
|
|
public final class ShareUtils$updateDirectShareTargets$3$pinnedOnlyShortcutChannels$2 extends o implements Function1<ShortcutInfo, Long> {
|
|
public static final ShareUtils$updateDirectShareTargets$3$pinnedOnlyShortcutChannels$2 INSTANCE = new ShareUtils$updateDirectShareTargets$3$pinnedOnlyShortcutChannels$2();
|
|
|
|
public ShareUtils$updateDirectShareTargets$3$pinnedOnlyShortcutChannels$2() {
|
|
super(1);
|
|
}
|
|
|
|
public final long invoke(ShortcutInfo shortcutInfo) {
|
|
m.checkNotNullExpressionValue(shortcutInfo, "shortcutInfoCompat");
|
|
String id2 = shortcutInfo.getId();
|
|
m.checkNotNullExpressionValue(id2, "shortcutInfoCompat.id");
|
|
return Long.parseLong(id2);
|
|
}
|
|
|
|
/* 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 */ Long invoke(ShortcutInfo shortcutInfo) {
|
|
return Long.valueOf(invoke(shortcutInfo));
|
|
}
|
|
}
|