Skip to content

Commit

Permalink
Allow write log even not enabled (debug)
Browse files Browse the repository at this point in the history
  • Loading branch information
khanhduytran0 committed Aug 9, 2020
1 parent b19df4e commit 517cd06
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/src/main/java/net/kdt/pojavlaunch/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -1080,7 +1080,6 @@ public void onCharPrint(char c) {

ShellProcessOperation shell = new ShellProcessOperation(new ShellProcessOperation.OnPrintListener(){


@Override
public void onPrintLine(String text) {
appendToLog(text);
Expand Down Expand Up @@ -1407,7 +1406,7 @@ private void appendlnToLog(String text, boolean checkAllow) {
}

private void appendToLog(final String text, boolean checkAllow) {
if (checkAllow && !isLogAllow) return;
// if (checkAllow && !isLogAllow) return;
/*
private void appendToLog(final String text) {
*/
Expand Down

0 comments on commit 517cd06

Please sign in to comment.