diff --git a/app/src/main/java/com/droiddeck/launcher/FrontEndActivity.kt b/app/src/main/java/com/droiddeck/launcher/FrontEndActivity.kt
index 8c9657f1f5..9a109df4d2 100644
--- a/app/src/main/java/com/droiddeck/launcher/FrontEndActivity.kt
+++ b/app/src/main/java/com/droiddeck/launcher/FrontEndActivity.kt
@@ -52,6 +52,7 @@ import com.droiddeck.launcher.ui.ComponentsPage
import com.droiddeck.launcher.session.GameSaves
import com.droiddeck.launcher.session.SessionLogShare
import com.droiddeck.launcher.session.SessionPaths
+import com.droiddeck.launcher.session.FullscreenMode
import com.droiddeck.launcher.session.SessionPrefs
import com.droiddeck.launcher.session.SteamRepair
import com.droiddeck.launcher.session.LaunchCoordinator
@@ -208,7 +209,8 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
private var orientation by mutableStateOf(android.content.pm.ActivityInfo.SCREEN_ORIENTATION_SENSOR_LANDSCAPE)
private var launcherOrientation by mutableStateOf(android.content.pm.ActivityInfo.SCREEN_ORIENTATION_USER)
private var homePage by mutableStateOf(com.droiddeck.launcher.core.AppUiPrefs.HOME_PAGE_STEAM)
- private var launcherFullscreen by mutableStateOf(true)
+ private var launcherFullscreenMode by mutableStateOf(FullscreenMode.ALWAYS)
+ private var sessionFullscreenMode by mutableStateOf(FullscreenMode.ALWAYS)
private var launcherFrost by mutableStateOf(false)
private var frostWallpaper by mutableStateOf(true)
private var frostCards by mutableStateOf(true)
@@ -1366,8 +1368,12 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
orientation = SessionPrefs.orientation(this)
launcherOrientation = com.droiddeck.launcher.core.AppUiPrefs.orientation(this)
requestedOrientation = launcherOrientation
+ launcherFullscreenMode = SessionPrefs.launcherFullscreenMode(this)
+ sessionFullscreenMode = SessionPrefs.sessionFullscreenMode(this)
+ applyLauncherFullscreen()
homePage = com.droiddeck.launcher.core.AppUiPrefs.homePage(this)
- launcherFullscreen = SessionPrefs.launcherFullscreen(this)
+ launcherFullscreenMode = SessionPrefs.launcherFullscreenMode(this)
+ sessionFullscreenMode = SessionPrefs.sessionFullscreenMode(this)
launcherFrost = SessionPrefs.launcherFrost(this)
frostWallpaper = SessionPrefs.frostWallpaper(this)
frostCards = SessionPrefs.frostCards(this)
@@ -1482,7 +1488,8 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
orientation = orientation,
launcherOrientation = launcherOrientation,
homePage = homePage,
- launcherFullscreen = launcherFullscreen,
+ launcherFullscreenMode = launcherFullscreenMode,
+ sessionFullscreenMode = sessionFullscreenMode,
launcherFrost = launcherFrost,
frostWallpaper = frostWallpaper,
frostCards = frostCards,
@@ -1816,11 +1823,15 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
homePage = value
},
onControllerHaptics = { on -> SessionPrefs.setControllerHaptics(this, on); controllerHaptics = on },
- onLauncherFullscreen = { on ->
- SessionPrefs.setLauncherFullscreen(this, on)
- launcherFullscreen = on
+ onLauncherFullscreenMode = { mode ->
+ SessionPrefs.setLauncherFullscreenMode(this, mode)
+ launcherFullscreenMode = mode
applyLauncherFullscreen()
},
+ onSessionFullscreenMode = { mode ->
+ SessionPrefs.setSessionFullscreenMode(this, mode)
+ sessionFullscreenMode = mode
+ },
onLauncherFrost = { on ->
SessionPrefs.setLauncherFrost(this, on)
launcherFrost = on
@@ -2152,7 +2163,13 @@ class FrontEndActivity : ComponentActivity(), com.droiddeck.launcher.ui.AgentPet
private fun frostShown(): Boolean =
launcherFrost && frostWallpaper && frost.prepared && frost.available && theme != com.droiddeck.launcher.ui.Themes.TRUE_BLACK
- private fun applyLauncherFullscreen() {
+ override fun onConfigurationChanged(newConfig: android.content.res.Configuration) {
+ super.onConfigurationChanged(newConfig)
+ applyLauncherFullscreen(newConfig)
+ }
+
+ private fun applyLauncherFullscreen(config: android.content.res.Configuration = resources.configuration) {
+ val launcherFullscreen = launcherFullscreenMode.hidesSystemBars(config.orientation)
@Suppress("DEPRECATION")
window.decorView.systemUiVisibility = if (launcherFullscreen) {
(View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY
diff --git a/app/src/main/java/com/droiddeck/launcher/SessionActivity.kt b/app/src/main/java/com/droiddeck/launcher/SessionActivity.kt
index 732b26620a..371d200f47 100644
--- a/app/src/main/java/com/droiddeck/launcher/SessionActivity.kt
+++ b/app/src/main/java/com/droiddeck/launcher/SessionActivity.kt
@@ -128,6 +128,7 @@ import com.droiddeck.launcher.session.GpuClockPin
import com.droiddeck.launcher.session.GameProfileFollowState
import com.droiddeck.launcher.session.GameProfileInventoryCache
import com.droiddeck.launcher.session.GameProfileRefreshState
+import com.droiddeck.launcher.session.FullscreenMode
import com.droiddeck.launcher.session.SessionPrefs
import com.droiddeck.launcher.session.SessionEvents
import com.droiddeck.launcher.session.SessionArtifacts
@@ -643,6 +644,7 @@ class SessionActivity : ComponentActivity(), SurfaceHolder.Callback, com.droidde
private var drawerControllerActive by mutableStateOf(false)
private var backHold by mutableStateOf(true)
private var dockedMenuController by mutableStateOf(false)
+ private var sessionFullscreenMode by mutableStateOf(FullscreenMode.ALWAYS)
private var sessionOrientation by mutableStateOf(android.content.pm.ActivityInfo.SCREEN_ORIENTATION_SENSOR_LANDSCAPE)
private var dualScreenSessionMode by mutableStateOf(com.droiddeck.launcher.input.DualScreen.MODE_AUTO)
private var backActionsInverted by mutableStateOf(false)
@@ -940,7 +942,8 @@ class SessionActivity : ComponentActivity(), SurfaceHolder.Callback, com.droidde
}
applyFollowChoice()
applyFollowOrientation(resources.configuration)
- goFullscreen()
+ sessionFullscreenMode = SessionPrefs.sessionFullscreenMode(this)
+ applySessionFullscreen()
volumeControlStream = android.media.AudioManager.STREAM_MUSIC
displayManager = getSystemService(DISPLAY_SERVICE) as DisplayManager
refreshSecondScreenDisplays()
@@ -2103,6 +2106,12 @@ class SessionActivity : ComponentActivity(), SurfaceHolder.Callback, com.droidde
onPause = ::pauseNow,
paused = SessionState.suspended || SessionState.manualPause,
onResume = { SessionService.resume(this@SessionActivity) },
+ fullscreenMode = sessionFullscreenMode,
+ onFullscreenMode = { mode ->
+ SessionPrefs.setSessionFullscreenMode(this@SessionActivity, mode)
+ sessionFullscreenMode = mode
+ applySessionFullscreen()
+ },
orientation = sessionOrientation,
onOrientation = { value ->
when (SessionState.mode) {
@@ -3309,6 +3318,7 @@ class SessionActivity : ComponentActivity(), SurfaceHolder.Callback, com.droidde
override fun onConfigurationChanged(newConfig: android.content.res.Configuration) {
super.onConfigurationChanged(newConfig)
+ if (!pipUi && !isInPictureInPictureMode) applySessionFullscreen(newConfig)
picturePosition = SessionPrefs.picturePosition(this, picturePortrait(newConfig))
if (refreshActivityDisplayId() && started) {
SessionService.setActivityDisplay(this, sessionActivityDisplayId)
@@ -6669,6 +6679,8 @@ class SessionActivity : ComponentActivity(), SurfaceHolder.Callback, com.droidde
uiHandler.removeCallbacks(questSteamVrRequest)
if (com.droiddeck.launcher.session.QuestExperimental.isSupported()) uiHandler.post(questSteamVrRequest)
if (runtimeRemovalBlocked) return
+ sessionFullscreenMode = SessionPrefs.sessionFullscreenMode(this)
+ if (!pipUi && !isInPictureInPictureMode) applySessionFullscreen()
if (!SessionState.suspended) pausedFrame = null
com.droiddeck.launcher.ui.Motion.refresh(this)
refreshHomeApp()
@@ -7382,7 +7394,7 @@ class SessionActivity : ComponentActivity(), SurfaceHolder.Callback, com.droidde
if (hasFocus && airTriggersOpen) RedMagicAirTriggers.open(this)
if (hasFocus && !pipUi) {
retryFieldKeyboard(true)
- goFullscreen()
+ applySessionFullscreen()
refreshClipboard()
}
updatePointerCapture()
@@ -7392,19 +7404,24 @@ class SessionActivity : ComponentActivity(), SurfaceHolder.Callback, com.droidde
if (resumed) sessionClipboard.refresh()
}
- private fun goFullscreen() {
+ private fun applySessionFullscreen(config: android.content.res.Configuration = resources.configuration) {
+ val fullscreen = sessionFullscreenMode.hidesSystemBars(config.orientation)
+ if (fullscreen) window.addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN)
+ else window.clearFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN)
@Suppress("DEPRECATION")
- window.decorView.systemUiVisibility = (View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY
+ window.decorView.systemUiVisibility = if (fullscreen) (View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY
or View.SYSTEM_UI_FLAG_FULLSCREEN
or View.SYSTEM_UI_FLAG_HIDE_NAVIGATION
or View.SYSTEM_UI_FLAG_LAYOUT_STABLE
or View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN
- or View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION)
+ or View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION) else View.SYSTEM_UI_FLAG_LAYOUT_STABLE
if (Build.VERSION.SDK_INT >= 28) {
window.attributes = window.attributes.apply {
- layoutInDisplayCutoutMode = if (Build.VERSION.SDK_INT >= 30)
- WindowManager.LayoutParams.LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS
- else WindowManager.LayoutParams.LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES
+ layoutInDisplayCutoutMode = when {
+ !fullscreen -> WindowManager.LayoutParams.LAYOUT_IN_DISPLAY_CUTOUT_MODE_DEFAULT
+ Build.VERSION.SDK_INT >= 30 -> WindowManager.LayoutParams.LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS
+ else -> WindowManager.LayoutParams.LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES
+ }
}
}
}
diff --git a/app/src/main/java/com/droiddeck/launcher/session/FullscreenMode.kt b/app/src/main/java/com/droiddeck/launcher/session/FullscreenMode.kt
new file mode 100644
index 0000000000..9d3cdd2e21
--- /dev/null
+++ b/app/src/main/java/com/droiddeck/launcher/session/FullscreenMode.kt
@@ -0,0 +1,18 @@
+package com.droiddeck.launcher.session
+
+import android.content.res.Configuration
+import androidx.annotation.StringRes
+import com.droiddeck.launcher.R
+
+enum class FullscreenMode(@StringRes val label: Int) {
+ ALWAYS(R.string.widgets_on),
+ LANDSCAPE_ONLY(R.string.setup_fullscreen_landscape_only),
+ OFF(R.string.widgets_off);
+
+ fun hidesSystemBars(orientation: Int): Boolean =
+ this == ALWAYS || (this == LANDSCAPE_ONLY && orientation == Configuration.ORIENTATION_LANDSCAPE)
+
+ companion object {
+ fun fromStored(value: String?): FullscreenMode? = entries.firstOrNull { it.name == value }
+ }
+}
diff --git a/app/src/main/java/com/droiddeck/launcher/session/SessionPrefs.kt b/app/src/main/java/com/droiddeck/launcher/session/SessionPrefs.kt
index 24ed5f199b..e42c8f48a5 100644
--- a/app/src/main/java/com/droiddeck/launcher/session/SessionPrefs.kt
+++ b/app/src/main/java/com/droiddeck/launcher/session/SessionPrefs.kt
@@ -112,10 +112,21 @@ object SessionPrefs {
else -> false
}
- fun launcherFullscreen(context: Context): Boolean = prefs(context).getBoolean("launcherFullscreen", true)
+ fun launcherFullscreenMode(context: Context): FullscreenMode {
+ val preferences = prefs(context)
+ return FullscreenMode.fromStored(preferences.getString("launcherFullscreenMode", null))
+ ?: if (preferences.getBoolean("launcherFullscreen", true)) FullscreenMode.ALWAYS else FullscreenMode.OFF
+ }
- fun setLauncherFullscreen(context: Context, on: Boolean) {
- prefs(context).edit().putBoolean("launcherFullscreen", on).apply()
+ fun setLauncherFullscreenMode(context: Context, mode: FullscreenMode) {
+ prefs(context).edit().putString("launcherFullscreenMode", mode.name).apply()
+ }
+
+ fun sessionFullscreenMode(context: Context): FullscreenMode =
+ FullscreenMode.fromStored(prefs(context).getString("sessionFullscreenMode", null)) ?: FullscreenMode.ALWAYS
+
+ fun setSessionFullscreenMode(context: Context, mode: FullscreenMode) {
+ prefs(context).edit().putString("sessionFullscreenMode", mode.name).apply()
}
fun launcherFrost(context: Context): Boolean = prefs(context).getBoolean("launcherFrost", false)
diff --git a/app/src/main/java/com/droiddeck/launcher/session/SettingsReset.kt b/app/src/main/java/com/droiddeck/launcher/session/SettingsReset.kt
index e4fb6ed9c3..c9852d4b8b 100644
--- a/app/src/main/java/com/droiddeck/launcher/session/SettingsReset.kt
+++ b/app/src/main/java/com/droiddeck/launcher/session/SettingsReset.kt
@@ -12,7 +12,7 @@ object SettingsReset {
private const val TAG = "SettingsReset"
internal val SESSION_KEYS = setOf(
- "orientation", "launcherFullscreen", "launcherFrost", "frostWallpaper", "frostCards", "frostTransparency", "frostCardTransparency", "controllerHaptics", "animations", "lowStorageWarning", "theme", "runSteamAtStartup", "startupSession", "addedGamesArt",
+ "orientation", "launcherFullscreen", "launcherFullscreenMode", "sessionFullscreenMode", "launcherFrost", "frostWallpaper", "frostCards", "frostTransparency", "frostCardTransparency", "controllerHaptics", "animations", "lowStorageWarning", "theme", "runSteamAtStartup", "startupSession", "addedGamesArt",
"drawerWidthDp", "dualScreenMode", "dualScreenSessionMode", "dualScreenLauncher", "dualScreenSessionControls", "androidTextFieldKeyboard",
"soundtracksIngame", "gameStoresSpeedTier", "gameStoresParallel", "storesOpenTab", "storesShowMature",
"storesInstallLanguage",
diff --git a/app/src/main/java/com/droiddeck/launcher/ui/FrontEndScreen.kt b/app/src/main/java/com/droiddeck/launcher/ui/FrontEndScreen.kt
index 917a46e71d..ff50841c75 100644
--- a/app/src/main/java/com/droiddeck/launcher/ui/FrontEndScreen.kt
+++ b/app/src/main/java/com/droiddeck/launcher/ui/FrontEndScreen.kt
@@ -88,6 +88,7 @@ import com.droiddeck.launcher.input.SecondScreenDisplay
import com.droiddeck.launcher.core.DownloadSource
import com.droiddeck.launcher.core.PhantomProcessLimit
import com.droiddeck.launcher.core.PhantomProcessStatus
+import com.droiddeck.launcher.session.FullscreenMode
import com.droiddeck.launcher.session.SessionPrefs
import kotlin.math.roundToInt
import kotlinx.coroutines.withTimeoutOrNull
@@ -176,7 +177,8 @@ class FrontEndState(
val orientation: Int = android.content.pm.ActivityInfo.SCREEN_ORIENTATION_SENSOR_LANDSCAPE,
val launcherOrientation: Int = android.content.pm.ActivityInfo.SCREEN_ORIENTATION_USER,
val homePage: String = com.droiddeck.launcher.core.AppUiPrefs.HOME_PAGE_STEAM,
- val launcherFullscreen: Boolean = true,
+ val launcherFullscreenMode: FullscreenMode = FullscreenMode.ALWAYS,
+ val sessionFullscreenMode: FullscreenMode = FullscreenMode.ALWAYS,
val launcherFrost: Boolean = false,
val frostWallpaper: Boolean = true,
val frostCards: Boolean = true,
@@ -288,7 +290,8 @@ class FrontEndActions(
val onOrientation: (Int) -> Unit = {},
val onLauncherOrientation: (Int) -> Unit = {},
val onHomePage: (String) -> Unit = {},
- val onLauncherFullscreen: (Boolean) -> Unit = {},
+ val onLauncherFullscreenMode: (FullscreenMode) -> Unit = {},
+ val onSessionFullscreenMode: (FullscreenMode) -> Unit = {},
val onLauncherFrost: (Boolean) -> Unit = {},
val onFrostWallpaper: (Boolean) -> Unit = {},
val onFrostCards: (Boolean) -> Unit = {},
@@ -711,9 +714,12 @@ private fun FrontEndScreenBody(s: FrontEndState, a: FrontEndActions, page: (@Com
if (anyFocused) return
}
}
+ val launcherFullscreen = s.launcherFullscreenMode.hidesSystemBars(
+ androidx.compose.ui.platform.LocalConfiguration.current.orientation,
+ )
androidx.compose.foundation.layout.BoxWithConstraints(
modifier = Modifier.fillMaxSize().background(if (LocalFrost.current != null) Color.Transparent else colors.background)
- .windowInsetsPadding(if (s.launcherFullscreen) WindowInsets.displayCutout else WindowInsets.systemBars)
+ .windowInsetsPadding(if (launcherFullscreen) WindowInsets.displayCutout else WindowInsets.systemBars)
.onFocusChanged { anyFocused = it.hasFocus },
) {
val bottomNavigation = maxHeight > maxWidth
diff --git a/app/src/main/java/com/droiddeck/launcher/ui/FrontEndSetup.kt b/app/src/main/java/com/droiddeck/launcher/ui/FrontEndSetup.kt
index 4047781350..0cda817452 100644
--- a/app/src/main/java/com/droiddeck/launcher/ui/FrontEndSetup.kt
+++ b/app/src/main/java/com/droiddeck/launcher/ui/FrontEndSetup.kt
@@ -85,6 +85,7 @@ import com.droiddeck.launcher.core.DeviceSupport
import com.droiddeck.launcher.core.DownloadSource
import com.droiddeck.launcher.core.PhantomProcessLimit
import com.droiddeck.launcher.core.PhantomProcessStatus
+import com.droiddeck.launcher.session.FullscreenMode
import com.droiddeck.launcher.session.SessionPrefs
import com.droiddeck.launcher.stores.download.StoreDownloadTier
import com.droiddeck.launcher.R
@@ -586,11 +587,17 @@ internal fun SetupPanel(
SessionPrefs.setOrientation(ctx, "desktop", value)
},
)
- ToggleRow(
- host, "launcher-fullscreen", stringResource(R.string.setup_fullscreen),
- if (s.launcherFullscreen) stringResource(R.string.setup_fullscreen_on) else stringResource(R.string.setup_fullscreen_off),
- s.launcherFullscreen,
- ) { a.onLauncherFullscreen(it) }
+ val fullscreenModes = FullscreenMode.entries.map { it to stringResource(it.label) }
+ ChoiceRow(
+ host, "launcher-fullscreen", stringResource(R.string.setup_launcher_fullscreen),
+ stringResource(R.string.setup_fullscreen_on),
+ fullscreenModes, s.launcherFullscreenMode, onPick = a.onLauncherFullscreenMode,
+ )
+ ChoiceRow(
+ host, "session-fullscreen", stringResource(R.string.setup_session_fullscreen),
+ stringResource(R.string.setup_fullscreen_on),
+ fullscreenModes, s.sessionFullscreenMode, onPick = a.onSessionFullscreenMode,
+ )
ToggleRow(
host, "page-swipe", stringResource(R.string.setup_page_swipe),
stringResource(R.string.setup_page_swipe_hint), PageSwipe.on,
diff --git a/app/src/main/java/com/droiddeck/launcher/ui/SessionOverlay.kt b/app/src/main/java/com/droiddeck/launcher/ui/SessionOverlay.kt
index a2647da77f..6e843c212d 100644
--- a/app/src/main/java/com/droiddeck/launcher/ui/SessionOverlay.kt
+++ b/app/src/main/java/com/droiddeck/launcher/ui/SessionOverlay.kt
@@ -177,6 +177,7 @@ import com.droiddeck.launcher.gpu.ScreenEffectLooks
import com.droiddeck.launcher.gpu.Cardboard
import com.droiddeck.launcher.gpu.SteamVr
import com.droiddeck.launcher.gpu.ScreenEffects
+import com.droiddeck.launcher.session.FullscreenMode
import com.droiddeck.launcher.session.SessionPrefs
import com.droiddeck.launcher.session.ComponentsManager
import com.droiddeck.launcher.input.PC_KEY_GROUP_IDS
@@ -406,6 +407,8 @@ class DrawerActions(
val paused: Boolean = false,
val orientation: Int = android.content.pm.ActivityInfo.SCREEN_ORIENTATION_SENSOR_LANDSCAPE,
val onOrientation: (Int) -> Unit = {},
+ val fullscreenMode: FullscreenMode = FullscreenMode.ALWAYS,
+ val onFullscreenMode: (FullscreenMode) -> Unit = {},
val onResume: () -> Unit = {},
val onPipAutoEnter: (Boolean) -> Unit = {},
val unfoldedControls: Boolean? = null,
@@ -1009,6 +1012,10 @@ private fun DrawerDisplayPage(host: MenuHost, a: DrawerActions, track: (String)
if (a.gameZoomAvailable) GameZoomRow(a.gameZoom, track, a.onGameZoom)
ChoiceRow(host, "orientation", stringResource(R.string.setup_session_orientation), null,
orientations, a.orientation, chipModifier = track("orientation"), onPick = a.onOrientation)
+ ChoiceRow(host, "session-fullscreen", stringResource(R.string.setup_session_fullscreen),
+ stringResource(R.string.setup_fullscreen_on),
+ FullscreenMode.entries.map { it to stringResource(it.label) }, a.fullscreenMode,
+ chipModifier = track("session-fullscreen"), onPick = a.onFullscreenMode)
if (a.steam) PicturePositionRow(host, a.picturePosition, track("picture-position"), onPick = a.onPicturePosition)
}
val filters = SessionPrefs.upscalerChoices(LocalContext.current)
diff --git a/app/src/main/java/com/droiddeck/launcher/ui/SettingsIndex.kt b/app/src/main/java/com/droiddeck/launcher/ui/SettingsIndex.kt
index 5983063e1e..f9bc7c1663 100644
--- a/app/src/main/java/com/droiddeck/launcher/ui/SettingsIndex.kt
+++ b/app/src/main/java/com/droiddeck/launcher/ui/SettingsIndex.kt
@@ -116,7 +116,8 @@ internal object SettingsIndex {
s(SettingsSection.LAUNCHER, R.string.setup_home, "home screen", "launcher"),
s(SettingsSection.LAUNCHER, R.string.setup_launcher_orientation, "rotate", "portrait"),
s(SettingsSection.LAUNCHER, R.string.setup_session_orientation, "rotate", "portrait"),
- s(SettingsSection.LAUNCHER, R.string.setup_fullscreen),
+ s(SettingsSection.LAUNCHER, R.string.setup_launcher_fullscreen, "status bar", "navigation bar", "portrait"),
+ s(SettingsSection.LAUNCHER, R.string.setup_session_fullscreen, "status bar", "navigation bar", "portrait"),
s(SettingsSection.LAUNCHER, R.string.setup_page_swipe, "gesture"),
s(SettingsSection.LAUNCHER, R.string.setup_controller_haptics, "vibration", "rumble"),
s(SettingsSection.LAUNCHER, R.string.setup_dual_screen_launcher, "thor", "second screen", "bottom screen"),
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index c9a8dd1d3d..26c5d04baa 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -1042,6 +1042,9 @@
Landscape
Reverse landscape
Fullscreen
+ Launcher fullscreen
+ Session fullscreen
+ Landscape only
Hides the Android status and navigation bars
Shows the Android status and navigation bars
Swipe between pages
diff --git a/docs/settings-map.md b/docs/settings-map.md
index aface4f407..e3138eee65 100644
--- a/docs/settings-map.md
+++ b/docs/settings-map.md
@@ -45,7 +45,8 @@ Links of the form `droiddeck://settings/` open a Settings section direc
| Use as Home screen | Settings › Launcher (`droiddeck://settings/launcher`) | home screen, launcher |
| Launcher orientation | Settings › Launcher (`droiddeck://settings/launcher`) | rotate, portrait |
| Session orientation | Settings › Launcher (`droiddeck://settings/launcher`) | rotate, portrait |
-| Fullscreen | Settings › Launcher (`droiddeck://settings/launcher`) | |
+| Launcher fullscreen | Settings › Launcher (`droiddeck://settings/launcher`) | status bar, navigation bar, portrait |
+| Session fullscreen | Settings › Launcher (`droiddeck://settings/launcher`) | status bar, navigation bar, portrait |
| Swipe between pages | Settings › Launcher (`droiddeck://settings/launcher`) | gesture |
| Controller haptics | Settings › Launcher (`droiddeck://settings/launcher`) | vibration, rumble |
| Dual screen launcher | Settings › Launcher (`droiddeck://settings/launcher`) | thor, second screen, bottom screen |