fix: on dual-screen handhelds DroidDeck no longer jumps back over apps opened from outside it (#1828)

fix: the bottom-screen panel no longer pulls DroidDeck back over an app opened on the main screen from outside DroidDeck

On dual-screen handhelds the panel took focus and moved DroidDeck's task forward whenever another app opened over it on the main screen, unless DroidDeck had opened that app itself. A frontend such as iisu, or Settings opened from a shortcut, was covered again within a fraction of a second. The panel now stops reclaiming once the launcher is paused, and starts again when it resumes.
This commit is contained in:
MaxsTechReview authored and GitHub committed 2026-10-30 13:58:40 -04:00
1 parent ab949a4a5a
commit 9a1334b73b
1 file changed
+1
@@ -1632,6 +1632,7 @@ class FrontEndActivity : ComponentActivity() {
override fun onPause() {
compatLaunchVisible = false
if (android.os.Build.VERSION.SDK_INT >= 29) com.droiddeck.launcher.ui.DualScreenPanel.yieldTo(taskId, true)
super.onPause()
}