mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-01 07:35:40 +00:00
app/internal/window: [android] remove redundant context argument
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -124,12 +124,12 @@ public final class GioView extends SurfaceView implements Choreographer.FrameCal
|
||||
return true;
|
||||
}
|
||||
|
||||
private void setCursor(Context ctx, int id) {
|
||||
private void setCursor(int id) {
|
||||
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.N) {
|
||||
return;
|
||||
}
|
||||
PointerIcon pointerIcon = PointerIcon.getSystemIcon(ctx, id);
|
||||
GioView.this.setPointerIcon(pointerIcon);
|
||||
PointerIcon pointerIcon = PointerIcon.getSystemIcon(getContext(), id);
|
||||
setPointerIcon(pointerIcon);
|
||||
}
|
||||
|
||||
private void dispatchMotionEvent(MotionEvent event) {
|
||||
|
||||
Reference in New Issue
Block a user