Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3a6cedfe authored by Deepanshu Gupta's avatar Deepanshu Gupta
Browse files

Fix default level flags for bidi. [DO NOT MERGE]

Bug: b.android.com/69432
Change-Id: I26ff34a6d1f85c928a9a1cb3dfd739fc7d3a8fb6
parent 274a6049
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -40,10 +40,10 @@ public class AndroidBidi_Delegate {
        case 1: // Layout.DIR_REQUEST_RTL
            break;  // No change.
        case -1:
            dir = Bidi.LEVEL_DEFAULT_LTR;
            dir = Bidi.LEVEL_DEFAULT_RTL;
            break;
        case -2:
            dir = Bidi.LEVEL_DEFAULT_RTL;
            dir = Bidi.LEVEL_DEFAULT_LTR;
            break;
        default:
            // Invalid code. Log error, assume LEVEL_DEFAULT_LTR and continue.