AndroidShowToast: make OneShotTask members private final

main
Amir Kadyrov 2023-12-31 14:19:43 +04:00 committed by Sam Lantinga
parent 44c2f344d6
commit dd2d809407
1 changed files with 5 additions and 5 deletions

View File

@ -1915,11 +1915,11 @@ public class SDLActivity extends Activity implements View.OnSystemUiVisibilityCh
try try
{ {
class OneShotTask implements Runnable { class OneShotTask implements Runnable {
String mMessage; private final String mMessage;
int mDuration; private final int mDuration;
int mGravity; private final int mGravity;
int mXOffset; private final int mXOffset;
int mYOffset; private final int mYOffset;
OneShotTask(String message, int duration, int gravity, int xOffset, int yOffset) { OneShotTask(String message, int duration, int gravity, int xOffset, int yOffset) {
mMessage = message; mMessage = message;