Show screenshot and select in task menu
Hide screenshot and select from menu if thumbnail is null Bug: 383662632 Flag: com.android.launcher3.enable_show_enabled_shortcuts_in_accessibility_menu Test: OverviewMenuImageTest & manual. See bug. Change-Id: Idf41de7e36b63f7bcc8639f5f3932a61e56ebfcd
This commit is contained in:
@@ -1578,7 +1578,10 @@ public abstract class RecentsView<
|
||||
== getPagedOrientationHandler().getPrimaryScroll(this);
|
||||
}
|
||||
|
||||
private boolean isFocusedTaskInExpectedScrollPosition() {
|
||||
/**
|
||||
* Returns true if the focused TaskView is in expected scroll position.
|
||||
*/
|
||||
public boolean isFocusedTaskInExpectedScrollPosition() {
|
||||
TaskView focusedTask = getFocusedTaskView();
|
||||
return focusedTask != null && isTaskInExpectedScrollPosition(focusedTask);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user