25 lines
698 B
Java
25 lines
698 B
Java
package com.facebook.internal;
|
|
|
|
import android.app.Activity;
|
|
import android.net.Uri;
|
|
import android.os.Bundle;
|
|
import androidx.browser.customtabs.CustomTabsIntent;
|
|
import com.facebook.FacebookSdk;
|
|
|
|
/* loaded from: classes.dex */
|
|
public class CustomTab {
|
|
private Uri a;
|
|
|
|
public CustomTab(String str, Bundle bundle) {
|
|
bundle = bundle == null ? new Bundle() : bundle;
|
|
this.a = Utility.a(ServerProtocol.b(), FacebookSdk.j() + "/dialog/" + str, bundle);
|
|
}
|
|
|
|
public void a(Activity activity, String str) {
|
|
CustomTabsIntent a = new CustomTabsIntent.Builder().a();
|
|
a.a.setPackage(str);
|
|
a.a.addFlags(1073741824);
|
|
a.a(activity, this.a);
|
|
}
|
|
}
|