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

Skip to content
Commit 936c1902 authored by Michal Brzezinski's avatar Michal Brzezinski
Browse files

1/n refactoring ViewModels for touchpad tutorial

Extracting handling of easter egg to separate ViewModel to not repeat it in all gesture view models

1. Simplifying TouchpadGestureHandler so that it accepts any gesture recognizers and is not directly dependent on easter egg monitor
2. EasterEggMonitor now extends GestureRecognizer
3. Easter egg handling logic is extracted to separate ViewModel

Bug: 384509663
Test: EasterEggGestureViewModelTest
Flag: com.android.systemui.shared.new_touchpad_gestures_tutorial
Change-Id: I46dd032a992f27252dd95510b77ccaf30f78096d
parent c18bf421
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment