From 7c40c947efc8ee0009dae2eb800dd1ddfbde46fd Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Tue, 12 Mar 2024 13:55:35 +0100 Subject: [PATCH] chore: Log intent to be opened by chooser --- .../twitter/patches/links/OpenLinksWithAppChooserPatch.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/main/java/app/revanced/integrations/twitter/patches/links/OpenLinksWithAppChooserPatch.java b/app/src/main/java/app/revanced/integrations/twitter/patches/links/OpenLinksWithAppChooserPatch.java index e781f19a..18ccaa78 100644 --- a/app/src/main/java/app/revanced/integrations/twitter/patches/links/OpenLinksWithAppChooserPatch.java +++ b/app/src/main/java/app/revanced/integrations/twitter/patches/links/OpenLinksWithAppChooserPatch.java @@ -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));