diff options
author | Charles Lombardo <clombardo169@gmail.com> | 2023-09-17 23:41:06 +0200 |
---|---|---|
committer | Charles Lombardo <clombardo169@gmail.com> | 2023-09-19 06:31:43 +0200 |
commit | fd097842316ca836c03c9d90131de6e85b2bae39 (patch) | |
tree | a337dd7b198bfadc673020e40386122e226ef2cd /src/android/app | |
parent | android: Fix showing input overlay in PiP (diff) | |
download | yuzu-fd097842316ca836c03c9d90131de6e85b2bae39.tar yuzu-fd097842316ca836c03c9d90131de6e85b2bae39.tar.gz yuzu-fd097842316ca836c03c9d90131de6e85b2bae39.tar.bz2 yuzu-fd097842316ca836c03c9d90131de6e85b2bae39.tar.lz yuzu-fd097842316ca836c03c9d90131de6e85b2bae39.tar.xz yuzu-fd097842316ca836c03c9d90131de6e85b2bae39.tar.zst yuzu-fd097842316ca836c03c9d90131de6e85b2bae39.zip |
Diffstat (limited to 'src/android/app')
-rw-r--r-- | src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/EmulationFragment.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/EmulationFragment.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/EmulationFragment.kt index dbc799dae..750638bc9 100644 --- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/EmulationFragment.kt +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/EmulationFragment.kt @@ -328,7 +328,7 @@ class EmulationFragment : Fragment(), SurfaceHolder.Callback { } override fun onPause() { - if (emulationState.isRunning) { + if (emulationState.isRunning && emulationActivity?.isInPictureInPictureMode != true) { emulationState.pause() } super.onPause() |