Quellcode durchsuchen

chore: remove debug console.log statements

nonvioce vor 3 Monaten
Ursprung
Commit
a928eb7f45
1 geänderte Dateien mit 1 neuen und 6 gelöschten Zeilen
  1. 1 6
      app/src/main/assets/console.js

+ 1 - 6
app/src/main/assets/console.js

@@ -1667,12 +1667,8 @@ class SymjaConsole {
     }
 
     startMcpPollingIfNeeded() {
-        if (!this.getMcpEnabled()) {
-            console.log('MCP polling skipped: getMcpEnabled=false');
-            return;
-        }
+        if (!this.getMcpEnabled()) return;
         if (!this.mcpPollTimer) {
-            console.log('MCP polling started');
             this.mcpPollTimer = setInterval(() => this.pollMcpEvents(), 1000);
         }
     }
@@ -2139,7 +2135,6 @@ class SymjaConsole {
         try {
             if (typeof Android === 'undefined' || !Android.getMcpEvents) return;
             const json = Android.getMcpEvents();
-            if (json && json !== '[]') console.log('MCP poll got events:', json.substring(0, 200));
             if (!json || json === '[]') return;
             const events = JSON.parse(json);
             events.forEach(ev => {