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

Commit 771efad7 authored by Kazuki Takise's avatar Kazuki Takise
Browse files

Log restart menu appeared/clicked events

APPEARED needs to be done in AppHeaderViewHolder instead of
HandleMenu because this is where the error icon gets shown and
the user is nudged to restart the app.

For CLICKED, it should be just okay to check
isRestartMenuEnabledForDisplayMove in
ShellTaskOrganizer#onSizeCompatRestartButtonClicked() as this
corresponds to whether the app restarts from handle menu
(assuming the restart menu and button are not shown at the same
time).

Flag: com.android.window.flags.enable_restart_menu_for_connected_displays
Bug: 425818504
Test: Manually tested on Atom Tester.
Change-Id: I73b650b3b287733dc1b0ed2e46a310cd08a9f797
parent 9d463e70
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