添加 Application 返回函数

This commit is contained in:
ZhanGSKen 2025-01-23 14:41:36 +08:00
parent 73222d3272
commit 7ca144bfc4

View File

@ -55,6 +55,10 @@ public class GlobalApplication extends Application {
return super.getApplicationContext();
}
public Application getApplication() {
return this;
}
@Override
public void onCreate() {
super.onCreate();