diff options
author | 2024-04-25 11:12:52 +0100 | |
---|---|---|
committer | 2024-05-15 09:42:08 +0100 | |
commit | 76331b6c17c27777d37876905a12a3cd293cc13b (patch) | |
tree | 029156d816f84d5fc1fd8d4c4fe89b18e128116a /protos | |
parent | fa09b124434d08e5bf2417d252e694074d731a16 (diff) |
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
Diffstat (limited to 'protos')
-rw-r--r-- | protos/launcher_atom.proto | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/protos/launcher_atom.proto b/protos/launcher_atom.proto index 7c648b6d88..823c821c7d 100644 --- a/protos/launcher_atom.proto +++ b/protos/launcher_atom.proto @@ -121,6 +121,20 @@ message SettingsContainer { } message TaskSwitcherContainer { + /** + * Indicates the current OrientationHandler in use in Overview. + * In fake landscape, the value will be + * {@link com.android.quickstep.orientation.LandscapePagedViewHandler} and in real landscape, + * the value will be {@link com.android.quickstep.orientation.PortraitPagedViewHandler} for + * example. + */ + optional OrientationHandler orientation_handler = 1; + + enum OrientationHandler { + PORTRAIT = 0; + LANDSCAPE = 1; + SEASCAPE = 2; + } } // Container for taskbar. |