mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 02:38:20 +00:00
Use Launcher.getLauncher(Context) instead of type-casting.
Bug: 32010039 Change-Id: Icb80d3e547a706740b84df2cb80f99e4a7f81c43
This commit is contained in:
@@ -1834,7 +1834,7 @@ public abstract class PagedView extends ViewGroup implements ViewGroup.OnHierarc
|
||||
}
|
||||
|
||||
protected void onUnhandledTap(MotionEvent ev) {
|
||||
((Launcher) getContext()).onClick(this);
|
||||
Launcher.getLauncher(getContext()).onClick(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user