App: initial add process callback

This commit is contained in:
Katana
2023-11-09 22:43:16 +08:00
parent 06ccb152d3
commit de43f59a8e
3 changed files with 25 additions and 9 deletions

View File

@@ -433,7 +433,10 @@ public final class Launcher extends Activity
// On large interfaces, we want the screen to auto-rotate based on the current orientation
unlockScreenOrientation(true);
FozaCore.registerCoreCallback(() -> FozaPackageManager.get().acquireObtainAppSplash());
LauncherLoader.instance().waitForAndGetInitialService(() -> {
FozaPackageManager.get().acquireObtainAppSplash();
return null;
});
}
protected void onUserLeaveHint() {