Pass isRTL flag from FabricUIManager Fabric core

Summary:
Changelog: [Internal]

Send `isRTL` flag and `doLeftAndRightSwapInRTL`  flags from Java to Fabric Core.

Reviewed By: JoshuaGross, mdvacca

Differential Revision: D20776005

fbshipit-source-id: 946c239d9a11ebea958b0a6d04f2316b7cd77311
This commit is contained in:
Samuel Susla
2020-04-01 08:39:53 -07:00
committed by Facebook GitHub Bot
parent c5a54ec1b1
commit e653cb06f8
4 changed files with 35 additions and 9 deletions
@@ -51,7 +51,9 @@ public class Binding {
float minWidth,
float maxWidth,
float minHeight,
float maxHeight);
float maxHeight,
boolean isRTL,
boolean doLeftAndRightSwapInRTL);
public native void renderTemplateToSurface(int surfaceId, String uiTemplate);
@@ -60,7 +62,13 @@ public class Binding {
public native void setPixelDensity(float pointScaleFactor);
public native void setConstraints(
int surfaceId, float minWidth, float maxWidth, float minHeight, float maxHeight);
int surfaceId,
float minWidth,
float maxWidth,
float minHeight,
float maxHeight,
boolean isRTL,
boolean doLeftAndRightSwapInRTL);
public void register(
@NonNull JavaScriptContextHolder jsContext,