summaryrefslogtreecommitdiff
path: root/libs/androidfw/misc.cpp
diff options
context:
space:
mode:
author Eghosa Ewansiha-Vlachavas <eevlachavas@google.com> 2024-03-01 20:43:06 +0000
committer Eghosa Ewansiha-Vlachavas <eevlachavas@google.com> 2024-03-07 08:37:35 +0000
commit6ce00f979e5bd69851967f48371807b6bc2b56e3 (patch)
treedc330cc00fc8426fc08d4b5ad8e0ba35ec25bdd1 /libs/androidfw/misc.cpp
parentf18df089c82e4a4a6c2ac4e55ef51cbfb54c5196 (diff)
Disable Desktop Windowing for devices with smaller screen sizes
For devices with screen size smaller than `Configuration.SCREENLAYOUT_SIZE_XLARGE`, hide the desktop windowing app handle and ignore `DesktopTaskController.moveToDesktop` calls. This hides all the on screen entry points and disables the adb commands and shortcuts to enter Desktop Windowing. Fixes: 326957646 Test: atest WMShellUnitTests:DesktopModeWindowDecorViewModelTests Test: atest WMShellUnitTests:DesktopTasksControllerTest Change-Id: I6f3224052c7fd88beefb9e58b0009569376d3a62
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions