Skip to content

Master#16

Closed
eslamalbaik wants to merge 10 commits intomainfrom
master
Closed

Master#16
eslamalbaik wants to merge 10 commits intomainfrom
master

Conversation

@eslamalbaik
Copy link

private static App sApp;
private Thread.UncaughtExceptionHandler defaultHandler = Thread.getDefaultUncaughtExceptionHandler();

@Override
protected void attachBaseContext(Context base) {
    super.attachBaseContext(base);
    new CrashHandler(this, defaultHandler).init(this.getFilesDir());
}

@Override
public void onCreate() {
    super.onCreate();
    sApp = this;
}

public static String getCrashLogDir() {
    return getCrashLogFolder().getAbsolutePath();
}

public static File getCrashLogFolder() {
    return sApp.getFilesDir();
}

public static App getApp() {
    return sApp;
}

public static void showToast(String str, int length) {
    Toast.makeText(getApp(), str, length).show();
}

}

@igui-git
Copy link

igui-git commented Apr 19, 2023

suppress

@codehasan
Copy link
Owner

Master branch will be removed and the legacy code will not be maintained anymore.

@codehasan codehasan closed this Nov 6, 2025
@codehasan codehasan deleted the master branch November 6, 2025 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants