From 92aa1b7be931807bdd16142d3c89398aa0ebf381 Mon Sep 17 00:00:00 2001 From: crimera Date: Fri, 1 Mar 2024 22:56:45 +0800 Subject: [PATCH] refactor(twitter): Add annotations --- app/src/main/java/app/revanced/integrations/twitter/Utils.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/main/java/app/revanced/integrations/twitter/Utils.java b/app/src/main/java/app/revanced/integrations/twitter/Utils.java index 845d90662b..fbd24d011f 100644 --- a/app/src/main/java/app/revanced/integrations/twitter/Utils.java +++ b/app/src/main/java/app/revanced/integrations/twitter/Utils.java @@ -1,5 +1,6 @@ package app.revanced.integrations.twitter; +import android.annotation.SuppressLint; import android.content.Context; import android.content.Intent; import android.preference.PreferenceManager; @@ -10,7 +11,9 @@ import app.revanced.integrations.twitter.settings.Settings; import app.revanced.integrations.twitter.settings.SettingsActivity; +@SuppressWarnings("unused") public class Utils { + @SuppressLint("StaticFieldLeak") private static final Context ctx = app.revanced.integrations.shared.Utils.getContext(); public static void startActivity() {