# To avoid get the quick settings and the notifications panel split horizontally on landscape phones run: adb shell cmd statusbar flag lockscreen.enable_landscape off # or adb shell am broadcast -a com.android.systemui.action.SET_FLAG --es name 'lockscreen.enable_landscape' --ez value 0 # then turn off the screen and turn on again, no need to restart the phone. # Thanks to the docs inside # frameworks/base/packages/SystemUI/src/com/android/systemui/flags/FeatureFlagsClassicDebug.java # # Copied here: /** * Concrete implementation of the a Flag manager that returns default values for debug builds *
* Flags can be set (or unset) via the following adb command: *
* adb shell cmd statusbar flag
* Alternatively, you can change flags via a broadcast intent:
*
* adb shell am broadcast -a com.android.systemui.action.SET_FLAG --ei id
* To restore a flag back to its default, leave the `--ez value <0|1>` off of the command.
*/
# Deprecated: If you have root, you can run the commands below to avoid restarting the phone.
# adb root
# adb shell killall com.android.systemui
# Better would be some config option to switch that behaviour as asked in.
# https://gitlab.com/LineageOS/issues/android/-/issues/9716
# Created 2026 january 24
# Last updated 2026 january 26: added the am broadcast line, no restart, deprecating root and killall com.android.systemui