Просмотр исходного кода

chore: remove debug console.log statements

nonvioce 3 месяцев назад
Родитель
Сommit
a928eb7f45
1 измененных файлов с 1 добавлено и 6 удалено
  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 => {