From 0367ff5e73344117b1ac30d4e0d6e44d97ceca02 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 2 Nov 2026 05:00:37 +0000 Subject: [PATCH] Qt build: QtActivity's lifecycle overrides are public Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01DPL5hiQsCq11CwCPnKPp9D --- qt/android/src/dev/ultra/launcher/HomeActivity.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/qt/android/src/dev/ultra/launcher/HomeActivity.java b/qt/android/src/dev/ultra/launcher/HomeActivity.java index 01b2163..f900027 100644 --- a/qt/android/src/dev/ultra/launcher/HomeActivity.java +++ b/qt/android/src/dev/ultra/launcher/HomeActivity.java @@ -97,7 +97,7 @@ public class HomeActivity extends QtActivity { }; @Override - protected void onCreate(Bundle state) { + public void onCreate(Bundle state) { self = this; super.onCreate(state); launcher = getSystemService(LauncherApps.class); @@ -158,20 +158,20 @@ public class HomeActivity extends QtActivity { } @Override - protected void onStart() { + public void onStart() { super.onStart(); widgetHost.startListening(); Updater.check(this, false); } @Override - protected void onStop() { + public void onStop() { super.onStop(); widgetHost.stopListening(); } @Override - protected void onDestroy() { + public void onDestroy() { launcher.unregisterCallback(packages); if (self == this) self = null; super.onDestroy(); @@ -179,7 +179,7 @@ public class HomeActivity extends QtActivity { // The home button while we are already in front. @Override - protected void onNewIntent(Intent intent) { + public void onNewIntent(Intent intent) { super.onNewIntent(intent); if (qtReady) Native.homePressed(); } @@ -464,7 +464,7 @@ public class HomeActivity extends QtActivity { } @Override - protected void onActivityResult(int req, int result, Intent data) { + public void onActivityResult(int req, int result, Intent data) { super.onActivityResult(req, result, data); if (pendingWidget == -1 || (req != REQ_BIND && req != REQ_CONFIGURE)) return; if (result != RESULT_OK) {