From a891d5f8da7fc6a783f07ce9b7038b0d82494a60 Mon Sep 17 00:00:00 2001 From: AMIR <31338382+amiremohamadi@users.noreply.github.com> Date: Wed, 16 Oct 2024 19:38:06 +0330 Subject: [PATCH] revert "Flip RTL text before sending it #184" (#1024) reverts 06477bc --- .../java/org/xbmc/kore/ui/sections/remote/RemoteActivity.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/src/main/java/org/xbmc/kore/ui/sections/remote/RemoteActivity.java b/app/src/main/java/org/xbmc/kore/ui/sections/remote/RemoteActivity.java index 8c2e53ac5..c14dfdc0e 100644 --- a/app/src/main/java/org/xbmc/kore/ui/sections/remote/RemoteActivity.java +++ b/app/src/main/java/org/xbmc/kore/ui/sections/remote/RemoteActivity.java @@ -28,7 +28,6 @@ import androidx.appcompat.app.ActionBar; import androidx.appcompat.widget.Toolbar; -import androidx.core.text.TextDirectionHeuristicsCompat; import androidx.core.view.OnApplyWindowInsetsListener; import androidx.core.view.ViewCompat; import androidx.core.view.WindowCompat; @@ -285,9 +284,6 @@ public boolean dispatchKeyEvent(KeyEvent event) { * Callbacks from Send text dialog */ public void onSendTextFinished(String text, boolean done) { - if (TextDirectionHeuristicsCompat.FIRSTSTRONG_LTR.isRtl(text, 0, text.length())) { - text = new StringBuilder(text).reverse().toString(); - } Input.SendText action = new Input.SendText(text, done); action.execute(hostManager.getConnection(), null, null); }