Skip to content
This repository was archived by the owner on Dec 29, 2025. It is now read-only.

Commit b7d0a68

Browse files
authored
Update FileUtils.java
1 parent 33c0755 commit b7d0a68

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/main/java/id.my.alvinq.prokitid.libs/FileUtils.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,16 @@
55
import java.nio.file.attribute.BasicFileAttributes;
66
import android.widget.Toast;
77
import org.levimc.launcher.util.Logger;
8+
import java.io.PrintWriter;
9+
import java.io.StringWriter;
10+
import java.lang.reflect.InvocationTargetException;
11+
import android.content.Context;
812

913
public class FileUtils {
14+
private static Context context;
15+
public FileUtils(Context ctx) {
16+
context = ctx;
17+
}
1018
public static String getStackTraceAsString(Throwable th) {
1119
StringWriter sw = new StringWriter();
1220
PrintWriter pw = new PrintWriter(sw);

0 commit comments

Comments
 (0)