SDL: AndroidShowToast: make OneShotTask members private final

From dd2d809407f152c00adc6e96e3a063eb530b7219 Mon Sep 17 00:00:00 2001
From: Amir Kadyrov <[EMAIL REDACTED]>
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 5165cef8882e..0d2aeebfab1e 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 static int showToast(String message, int duration, int gravity, int xOffs
         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;