Avoid leaking access token to log by filter it out

This commit is contained in:
khanhduytran0 2020-10-10 11:13:50 +07:00
parent 7ccb47d206
commit 546791d938
3 changed files with 18 additions and 5 deletions

View file

@ -952,7 +952,7 @@ public class MainActivity extends LoggableActivity implements OnTouchListener, O
// checkJavaArgsIsLaunchable();
appendlnToLog("Info: Custom Java arguments: \"" + LauncherPreferences.PREF_CUSTOM_JAVA_ARGS + "\"");
JREUtils.redirectAndPrintJRELog(this);
JREUtils.redirectAndPrintJRELog(this, mProfile.getAccessToken());
Tools.launchMinecraft(this, mProfile, mVersionInfo);
}