mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-18 12:28:40 +00:00
Update SessionActivity.kt ( removed coments )
This commit is contained in:
1 parent
dcb16dd2b0
commit
5ced3a12b8
1 file changed
-3
@@ -5307,14 +5307,11 @@ class SessionActivity : ComponentActivity(), SurfaceHolder.Callback, com.droidde
|
||||
readPrefs()
|
||||
observedScreenEffectsProfileId = SessionPrefs.activeScreenEffectsProfileId(this)
|
||||
if (CompositorHost.isStarted) {
|
||||
// Restore the running game's profile to the live output.
|
||||
syncActiveScreenEffectsProfile()
|
||||
} else if (screenEffectsTarget == SCREEN_EFFECTS_TARGET_AUTO) {
|
||||
effects = SessionPrefs.screenEffects(this, observedScreenEffectsProfileId)
|
||||
upscaler = SessionPrefs.screenEffectsUpscaler(this, observedScreenEffectsProfileId)
|
||||
}
|
||||
|
||||
// Keep the selected editor profile separate from the live output.
|
||||
if (screenEffectsTarget != SCREEN_EFFECTS_TARGET_AUTO) {
|
||||
val editorProfileId = screenEffectsProfileIdForTarget(screenEffectsTarget)
|
||||
effects = SessionPrefs.screenEffects(this, editorProfileId)
|
||||
|
||||
Reference in new issue
Block a user