mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2025-04-20 03:24:50 +00:00
Init polycentric http grayjay main activity
This commit is contained in:
parent
2bcd59cbfa
commit
c046619b8b
1 changed files with 3 additions and 1 deletions
|
@ -207,7 +207,7 @@ class MainActivity : AppCompatActivity, IWithResultLauncher {
|
|||
.build()
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
ApiMethods.UserAgent = "Grayjay Android (${BuildConfig.VERSION_CODE})";
|
||||
|
||||
Thread.setDefaultUncaughtExceptionHandler { _, throwable ->
|
||||
|
@ -249,6 +249,8 @@ class MainActivity : AppCompatActivity, IWithResultLauncher {
|
|||
|
||||
override fun onCreate(savedInstanceState: Bundle?) {
|
||||
Logger.i(TAG, "MainActivity Starting");
|
||||
ApiMethods.initCache(cacheDir);
|
||||
|
||||
StateApp.instance.setGlobalContext(this, lifecycleScope);
|
||||
StateApp.instance.mainAppStarting(this);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue