actually disable pings

This commit is contained in:
Luis Guzmán 2026-03-06 22:27:33 -06:00
parent f2708352b9
commit 6456d02d1e
2 changed files with 7 additions and 7 deletions

View File

@ -4,10 +4,10 @@
<selectionStates> <selectionStates>
<SelectionState runConfigName="app"> <SelectionState runConfigName="app">
<option name="selectionMode" value="DROPDOWN" /> <option name="selectionMode" value="DROPDOWN" />
<DropdownSelection timestamp="2026-03-07T04:13:08.327943277Z"> <DropdownSelection timestamp="2026-03-07T04:20:37.707409563Z">
<Target type="DEFAULT_BOOT"> <Target type="DEFAULT_BOOT">
<handle> <handle>
<DeviceId pluginId="PhysicalDevice" identifier="serial=a026a310" /> <DeviceId pluginId="PhysicalDevice" identifier="serial=69K7MB899PKJGQBI" />
</handle> </handle>
</Target> </Target>
</DropdownSelection> </DropdownSelection>

View File

@ -3,7 +3,7 @@
Name : TProxyService.java Name : TProxyService.java
Author : hev <r@hev.cc> Author : hev <r@hev.cc>
Copyright : Copyright (c) 2024 xyz Copyright : Copyright (c) 2024 xyz
Description : TProxy Service Description : TProxy Service with integrated Watchdog
============================================================================ ============================================================================
*/ */
@ -97,11 +97,11 @@ public class TProxyService extends VpnService {
Log.i(TAG, "Watchdog Thread: Started loop"); Log.i(TAG, "Watchdog Thread: Started loop");
while (isWatchdogRunning) { while (isWatchdogRunning) {
try { try {
// Perform the stimulus (The real keep-alive) // Perform only the heartbeat stimulus (Intent-based)
IIABWatchdog.sendStimulus(this); IIABWatchdog.performHeartbeat(this);
// Perform the debug ping (Checking if Termux is responsive) // TROUBLESHOOTING: Uncomment to test Termux responsiveness via ping
IIABWatchdog.performDebugPing(this); // IIABWatchdog.performDebugPing(this);
// Sleep for 30 seconds // Sleep for 30 seconds
Thread.sleep(30000); Thread.sleep(30000);