mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-28 15:56:49 +00:00
Set AccessibilityPaneTitle for taskbar view
we need to set pane title for taskbar view so accessibility service knows to focus/unfocus on it upon it appearing and disappearing Test: Manual Bug: 284081291 Flag: Not needed Change-Id: I5404c97bdc3e1d3308942cd907e7f7701a04bee3
This commit is contained in:
@@ -208,6 +208,8 @@ public class TaskbarView extends FrameLayout implements FolderIcon.FolderIconPar
|
||||
}
|
||||
|
||||
protected void init(TaskbarViewController.TaskbarViewCallbacks callbacks) {
|
||||
// set taskbar pane title so that accessibility service know it window and focuses.
|
||||
setAccessibilityPaneTitle(getContext().getString(R.string.taskbar_a11y_title));
|
||||
mControllerCallbacks = callbacks;
|
||||
mIconClickListener = mControllerCallbacks.getIconOnClickListener();
|
||||
mIconLongClickListener = mControllerCallbacks.getIconOnLongClickListener();
|
||||
|
||||
Reference in New Issue
Block a user