Implement project.godot file associations for the Android editor

This commit is contained in:
Fredia Huya-Kouadio 2026-02-10 11:14:08 -08:00
parent 833889aec0
commit 8d14a178e9
3 changed files with 105 additions and 2 deletions

View file

@ -202,7 +202,8 @@ abstract class GodotActivity : FragmentActivity(), GodotHost {
handleStartIntent(intent, false)
}
private fun handleStartIntent(intent: Intent, newLaunch: Boolean) {
@CallSuper
protected open fun handleStartIntent(intent: Intent, newLaunch: Boolean) {
if (!newLaunch) {
val newLaunchRequested = intent.getBooleanExtra(EXTRA_NEW_LAUNCH, false)
if (newLaunchRequested) {