summaryrefslogtreecommitdiff
path: root/libs/androidfw/AttributeResolution.cpp
diff options
context:
space:
mode:
author Eghosa Ewansiha-Vlachavas <eevlachavas@google.com> 2024-05-07 12:34:59 +0000
committer Eghosa Ewansiha-Vlachavas <eevlachavas@google.com> 2024-05-08 12:54:56 +0000
commit96e7d5d0161f8d227d26628fae0951ce8d7a1fc1 (patch)
tree8266fef831e2f58716bd87ef280e373ec1a0f942 /libs/androidfw/AttributeResolution.cpp
parent09b0a7c53ab32e10a98912e823c1ed5acee16fce (diff)
Update desktop mode flag checks to include device config check
Update `DesktopModeStatus.canEnterDesktopMode()` to include the desktop windowing flag check. Replace all uses of `DesktopModeStatus.isEnabled()` with `DesktopModeStatus.canEnterDesktopMode()` to check both the state of the flag and whether the device is compatible with desktop mode. Flag: None Bug: 339093954 Test: atest WMShellUnitTests:DesktopModeLoggerTransitionObserverTest Test: atest WMShellUnitTests:DesktopTasksControllerTest Test: atest WMShellUnitTests:FreeformTaskListenerTests Test: atest WMShellUnitTests:RecentTasksControllerTest Test: atest WMShellUnitTests:DesktopModeWindowDecorViewModelTests Test: atest WMShellUnitTests:DesktopModeWindowDecorationTests Change-Id: If0846062c2234f1d89fcde271150f3e613fd45cb
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions