[Android] Add missing `final` to surface callbacks

This commit is contained in:
Triang3l 2022-07-17 16:42:33 +03:00
parent 25663827ba
commit 421c9a80c5
1 changed files with 2 additions and 2 deletions

View File

@ -140,7 +140,7 @@ public abstract class WindowedAppActivity extends Activity {
} }
@Override @Override
public boolean onGenericMotion(View v, MotionEvent event) { public boolean onGenericMotion(final View view, final MotionEvent event) {
if (mAppContext == 0) { if (mAppContext == 0) {
return false; return false;
} }
@ -149,7 +149,7 @@ public abstract class WindowedAppActivity extends Activity {
@SuppressLint("ClickableViewAccessibility") @SuppressLint("ClickableViewAccessibility")
@Override @Override
public boolean onTouch(View v, MotionEvent event) { public boolean onTouch(final View view, final MotionEvent event) {
if (mAppContext == 0) { if (mAppContext == 0) {
return false; return false;
} }