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
{
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;