diff --git a/client/src/cordova/plugin/android/java/org/outline/OutlinePlugin.java b/client/src/cordova/plugin/android/java/org/outline/OutlinePlugin.java index d846f449bd..6876cc9ef2 100644 --- a/client/src/cordova/plugin/android/java/org/outline/OutlinePlugin.java +++ b/client/src/cordova/plugin/android/java/org/outline/OutlinePlugin.java @@ -43,7 +43,6 @@ import org.outline.vpn.VpnServiceStarter; import org.outline.vpn.VpnTunnelService; import outline.Outline; -import outline.InvokeMethod; import outline.InvokeMethodResult; import platerrors.Platerrors; import platerrors.PlatformError; @@ -195,13 +194,13 @@ private void executeAsync( if (Action.INVOKE_METHOD.is(action)) { final String methodName = args.getString(0); final String input = args.getString(1); - LOG.debug(String.format(Locale.ROOT, "Calling InvokeMethod(%s, %s)", methodName, input)); - final InvokeMethodResult result = outline.InvokeMethod(methodName, input); + LOG.fine(String.format(Locale.ROOT, "Calling InvokeMethod(%s, %s)", methodName, input)); + final InvokeMethodResult result = Outline.InvokeMethod(methodName, input); if (result.getError() != null) { LOG.warning(String.format(Locale.ROOT, "InvokeMethod(%s) failed: %s", methodName, result.getError())); sendActionResult(callback, result.getError()); } else { - LOG.debug(String.format(Locale.ROOT, "InvokeMethod result: %s", result.getValue())); + LOG.fine(String.format(Locale.ROOT, "InvokeMethod result: %s", result.getValue())); callback.success(result.getValue()); }