From dd2d809407f152c00adc6e96e3a063eb530b7219 Mon Sep 17 00:00:00 2001 From: Amir Kadyrov Date: Sun, 31 Dec 2023 14:19:43 +0400 Subject: [PATCH] AndroidShowToast: make OneShotTask members private final --- .../app/src/main/java/org/libsdl/app/SDLActivity.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/android-project/app/src/main/java/org/libsdl/app/SDLActivity.java b/android-project/app/src/main/java/org/libsdl/app/SDLActivity.java index 5165cef88..0d2aeebfa 100644 --- a/android-project/app/src/main/java/org/libsdl/app/SDLActivity.java +++ b/android-project/app/src/main/java/org/libsdl/app/SDLActivity.java @@ -1915,11 +1915,11 @@ public class SDLActivity extends Activity implements View.OnSystemUiVisibilityCh try { class OneShotTask implements Runnable { - String mMessage; - int mDuration; - int mGravity; - int mXOffset; - int mYOffset; + private final String mMessage; + private final int mDuration; + private final int mGravity; + private final int mXOffset; + private final int mYOffset; OneShotTask(String message, int duration, int gravity, int xOffset, int yOffset) { mMessage = message;