- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
30 lines
909 B
Java
30 lines
909 B
Java
package com.facebook.bolts;
|
|
|
|
import android.content.Intent;
|
|
import android.os.Bundle;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public final class AppLinks {
|
|
public static final AppLinks INSTANCE = new AppLinks();
|
|
public static final String KEY_NAME_APPLINK_DATA = "al_applink_data";
|
|
public static final String KEY_NAME_EXTRAS = "extras";
|
|
|
|
private AppLinks() {
|
|
}
|
|
|
|
public static final Bundle getAppLinkData(Intent intent) {
|
|
Intrinsics.checkNotNullParameter(intent, "intent");
|
|
return intent.getBundleExtra(KEY_NAME_APPLINK_DATA);
|
|
}
|
|
|
|
public static final Bundle getAppLinkExtras(Intent intent) {
|
|
Intrinsics.checkNotNullParameter(intent, "intent");
|
|
Bundle appLinkData = getAppLinkData(intent);
|
|
if (appLinkData == null) {
|
|
return null;
|
|
}
|
|
return appLinkData.getBundle("extras");
|
|
}
|
|
}
|