Remove /ping
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user