mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-12 22:26:56 -04:00
fix(misc): user agent always being null
This is due to an issue with the order of initialization.
This commit is contained in:
parent
195568c0f3
commit
0163c6fedc
@ -57,7 +57,6 @@ public class PojavApplication extends Application {
|
||||
|
||||
try {
|
||||
super.onCreate();
|
||||
Tools.APP_NAME = getResources().getString(R.string.app_short_name);
|
||||
|
||||
Tools.DIR_DATA = getDir("files", MODE_PRIVATE).getParent();
|
||||
Tools.DIR_CACHE = getCacheDir();
|
||||
|
@ -94,7 +94,7 @@ import java.util.Map;
|
||||
public final class Tools {
|
||||
public static final float BYTE_TO_MB = 1024 * 1024;
|
||||
public static final Handler MAIN_HANDLER = new Handler(Looper.getMainLooper());
|
||||
public static String APP_NAME = "null";
|
||||
public static String APP_NAME = "PojavLauncher";
|
||||
|
||||
public static final Gson GLOBAL_GSON = new GsonBuilder().setPrettyPrinting().create();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user