mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-16 16:16:04 -04:00
int index
This commit is contained in:
parent
9e4d4de70d
commit
0085264717
@ -4,13 +4,14 @@ import java.util.Map;
|
||||
|
||||
public abstract class LoggableActivity extends BaseActivity {
|
||||
public Map<String, String> jreReleaseList;
|
||||
public boolean filteredSessionID = false;
|
||||
private boolean filteredSessionID = false;
|
||||
public void appendToLog(String text) {
|
||||
appendToLog(text, true);
|
||||
}
|
||||
|
||||
public void appendlnToLog(String text) {
|
||||
// Filter out Session ID here
|
||||
int index;
|
||||
if (!filteredSessionID && (index = text.indexOf("(Session ID is ")) != -1) {
|
||||
text = text.substring(0, index) + "(Session ID is <censored>)";
|
||||
filteredSessionID = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user