Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e4db7fb6 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Re-use existing methods to toggle text logging on and off" into main

parents e9f72b4c 244bdc6c
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -399,13 +399,10 @@ public class PerfettoProtoLogImpl extends IProtoLogClient.Stub implements IProto
                return -1;
            }
            case "enable-text" -> {
                if (mViewerConfigReader != null) {
                    mViewerConfigReader.loadViewerConfig(groups, logger);
                }
                return setTextLogging(true, logger, groups);
                return startLoggingToLogcat(groups, logger);
            }
            case "disable-text" -> {
                return setTextLogging(false, logger, groups);
                return stopLoggingToLogcat(groups, logger);
            }
            default -> {
                return unknownCommand(pw);