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
Loading
Please register or sign in to comment