Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit b4700f10 authored by Jorge Gil's avatar Jorge Gil
Browse files

[2/N] (Handle Menu) Better encapsulation of window decor's views

Moves click detection out of the DesktopModeWindowDecorViewModel
and into the HandleMenuView.

The goal here is to keep implementation details of the menu view
encapsulated (resource ids, gesture detection, styling, etc), and
provide the decoration/viewmodel with abstractions for actions taken by
the user on the view (e.g. #setOnToDesktopClickListener).

Flag: EXEMPT refactor
Bug: 346441962
Test: with additional view container flag enabled & disabled - check
HandleMenu works as usual (clicks, animations, fullscreen/freeform)
Test: atest WMShellUnitTests

Change-Id: I003c0d5cc042dd9a53c6f1800a8191cd84dc2b87
parent bdf97469
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment