Add metric logging for fake landscape usage

- Reuse existing TaskSwitcherContainer for Overview metric logging
- Log current orientation state for Overview when interacting with
gestures or via three button nav
- Log current orientation state on each phone rotation

Bug: 332870519
Test: Manual
Flag: NA
Change-Id: Ia10cf1acb809432175daab55151998f0d77362f9
This commit is contained in:
samcackett
2024-04-25 11:12:52 +01:00
parent fa09b12443
commit 76331b6c17
29 changed files with 254 additions and 49 deletions
@@ -781,7 +781,19 @@ public class StatsLogManager implements ResourceBasedOverride {
LAUNCHER_PRIVATE_SPACE_UNLOCK_ANIMATION_BEGIN(1727),
@UiEvent(doc = "Private space unlock animation finished")
LAUNCHER_PRIVATE_SPACE_UNLOCK_ANIMATION_END(1728)
LAUNCHER_PRIVATE_SPACE_UNLOCK_ANIMATION_END(1728),
@UiEvent(doc = "User rotates whilst in Overview / RecentsView")
LAUNCHER_OVERVIEW_ORIENTATION_CHANGED(1762),
@UiEvent(doc = "User launches Overview from 3 button navigation")
LAUNCHER_OVERVIEW_SHOW_OVERVIEW_FROM_3_BUTTON(1763),
@UiEvent(doc = "User launches Overview from alt+tab keyboard quick switch")
LAUNCHER_OVERVIEW_SHOW_OVERVIEW_FROM_KEYBOARD_QUICK_SWITCH(1764),
@UiEvent(doc = "User launches Overview from meta+tab keyboard shortcut")
LAUNCHER_OVERVIEW_SHOW_OVERVIEW_FROM_KEYBOARD_SHORTCUT(1765),
// ADD MORE
;