summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Eghosa Ewansiha-Vlachavas <eevlachavas@google.com> 2024-06-12 16:14:33 +0000
committer Eghosa Ewansiha-Vlachavas <eevlachavas@google.com> 2024-06-12 21:49:48 +0000
commit3f5177aa757e942b8ea390804f9180e9c099467a (patch)
tree1ff28e617ea6d92a2814c68dafa932c4d7224bff /libs/androidfw/FileStream.cpp
parentb9536e6544d893f5ece68939e9da4bf6827c1c5c (diff)
Clean up `DesktopTasksControllerTest`
Remove unnecessary mocking of `DesktopModeStatus.enforceDeviceRestrictions` and `DesktopModeStatus.isDesktopModeSupported`. Remove tests which attempt to modify `DesktopModeStatus.canEnterDesktopMode` through mocking as these have no affect as `canEnterDesktopMode` is only used in the initialisation of the `DesktopTasksController` which happens in the setup before the test. Fixes: 346785442 Test: atest WMShellUnitTests:DesktopTasksControllerTest Change-Id: I2a6a87bb74d5588cbab9bd24e9e0a261913a9437
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions