mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 18:58:19 +00:00
Use Launcher.getLauncher(Context) instead of type-casting.
Bug: 32010039 Change-Id: Icb80d3e547a706740b84df2cb80f99e4a7f81c43
This commit is contained in:
@@ -53,7 +53,7 @@ public class OverviewAccessibilityDelegate extends AccessibilityDelegate {
|
||||
|
||||
@Override
|
||||
public boolean performAccessibilityAction(View host, int action, Bundle args) {
|
||||
Launcher launcher = (Launcher) host.getContext();
|
||||
Launcher launcher = Launcher.getLauncher(host.getContext());
|
||||
if (action == OVERVIEW) {
|
||||
launcher.showOverviewMode(true);
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user