Remove /ping

This commit is contained in:
Laiteux
2025-11-09 15:20:52 +04:00
parent 3eb16790f8
commit 03578b85ba

View File

@@ -111,8 +111,6 @@ public class LpaProvider extends ContentProvider
{ {
rows = switch (endpoint) rows = switch (endpoint)
{ {
// out: string ping=pong
case "ping" -> handlePing(args);
// out (many): string name, bool enabled // out (many): string name, bool enabled
case "preferences" -> handleGetPreferences(args); case "preferences" -> handleGetPreferences(args);
// in: string name, bool enabled // in: string name, bool enabled
@@ -182,11 +180,6 @@ public class LpaProvider extends ContentProvider
// region Handlers // region Handlers
private MatrixCursor handlePing(Map<String, String> args)
{
return row("ping", "pong");
}
private MatrixCursor handleGetPreferences(Map<String, String> args) throws Exception private MatrixCursor handleGetPreferences(Map<String, String> args) throws Exception
{ {
var preferences = List.of var preferences = List.of