building patched layoutlib-api
authorDmitry Avdeev <dmitry.avdeev@jetbrains.com>
Wed, 7 Aug 2019 14:06:47 +0000 (17:06 +0300)
committerintellij-monorepo-bot <intellij-monorepo-bot-no-reply@jetbrains.com>
Wed, 7 Aug 2019 21:05:21 +0000 (00:05 +0300)
GitOrigin-RevId: 55ca5d9a985bf64df0ef03093fb70ae5e8ce9a49

layoutlib-api/src/main/java/com/android/ide/common/rendering/api/Bridge.java

index 7219d44fc9a3a7df95e2e9b642498e41261c8a97..319e039e2e0690ab1aba4ed8ae6aed5fc87b289b 100644 (file)
@@ -86,11 +86,20 @@ public abstract class Bridge {
      */
     public boolean init(Map<String, String> platformProperties,
             File fontLocation,
      */
     public boolean init(Map<String, String> platformProperties,
             File fontLocation,
+            String nativeLibraryPath,
+            String dataPath,
             Map<String, Map<String, Integer>> enumValueMap,
             LayoutLog log) {
         return false;
     }
 
             Map<String, Map<String, Integer>> enumValueMap,
             LayoutLog log) {
         return false;
     }
 
+    public boolean init(Map<String, String> platformProperties,
+            File fontLocation,
+            Map<String, Map<String, Integer>> enumValueMap,
+            LayoutLog log) {
+        return init(platformProperties, fontLocation, null, null, enumValueMap, log);
+    }
+
     /**
      * Prepares the layoutlib to unloaded.
      */
     /**
      * Prepares the layoutlib to unloaded.
      */