mirror of
https://github.com/revanced/revanced-patches
synced 2025-02-23 05:41:12 +01:00
18 lines
429 B
Java
18 lines
429 B
Java
|
package app.revanced.tiktok.utils;
|
||
|
|
||
|
import android.content.Context;
|
||
|
|
||
|
public class ReVancedUtils {
|
||
|
|
||
|
//Used by TiktokIntegrations patch
|
||
|
public static Context context;
|
||
|
|
||
|
//Used by TiktokIntegrations patch
|
||
|
public static Context getAppContext() {
|
||
|
if (context != null) {
|
||
|
return context;
|
||
|
}
|
||
|
LogHelper.printException(ReVancedUtils.class, "Context is null!");
|
||
|
return null;
|
||
|
}
|
||
|
}
|