mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2024-11-15 14:24:59 +00:00
Merge pull request #323 from DevFactory/release/public-static-fields-should-be-constants-fix-1
Code quality fix - "public static" fields should be constant.
This commit is contained in:
commit
049b36b1b6
@ -11,9 +11,9 @@ import java.io.PrintWriter;
|
|||||||
//todo: replace this by using the internal crash handler of newpipe
|
//todo: replace this by using the internal crash handler of newpipe
|
||||||
public class CrashHandler implements Thread.UncaughtExceptionHandler
|
public class CrashHandler implements Thread.UncaughtExceptionHandler
|
||||||
{
|
{
|
||||||
public static String CRASH_DIR = Environment.getExternalStorageDirectory().getPath() + "/GigaCrash/";
|
public static final String CRASH_DIR = Environment.getExternalStorageDirectory().getPath() + "/GigaCrash/";
|
||||||
public static String CRASH_LOG = CRASH_DIR + "last_crash.log";
|
public static final String CRASH_LOG = CRASH_DIR + "last_crash.log";
|
||||||
public static String CRASH_TAG = CRASH_DIR + ".crashed";
|
public static final String CRASH_TAG = CRASH_DIR + ".crashed";
|
||||||
|
|
||||||
private static String ANDROID = Build.VERSION.RELEASE;
|
private static String ANDROID = Build.VERSION.RELEASE;
|
||||||
private static String MODEL = Build.MODEL;
|
private static String MODEL = Build.MODEL;
|
||||||
|
Loading…
Reference in New Issue
Block a user