1
mirror of https://github.com/revanced/revanced-integrations synced 2024-11-24 20:07:14 +01:00

chore: Log intent to be opened by chooser

This commit is contained in:
oSumAtrIX 2024-03-12 13:55:35 +01:00
parent 4be65be414
commit 7c40c947ef
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4

View File

@ -2,9 +2,12 @@ package app.revanced.integrations.twitter.patches.links;
import android.content.Context;
import android.content.Intent;
import android.util.Log;
public final class OpenLinksWithAppChooserPatch {
public static void openWithChooser(final Context context, final Intent intent) {
Log.d("ReVanced", "Opening intent with chooser: " + intent);
intent.setAction("android.intent.action.VIEW");
context.startActivity(Intent.createChooser(intent, null));