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

Commit fc511683 authored by Xavier Ducrohet's avatar Xavier Ducrohet
Browse files

Add missing delegate to the layoutlib.

Change-Id: I8de5c1093052c40c0cd327a4d02b01651d3b76b5
parent e2b801e5
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -138,6 +138,10 @@ public class ICU_Delegate {
        return "";
    }

    @LayoutlibDelegate
    /*package*/ static String getScript(String locale) {
        return "";
    }

    @LayoutlibDelegate
    /*package*/ static String[] getISOLanguagesNative() {
+1 −1
Original line number Diff line number Diff line
@@ -38,7 +38,7 @@ public class BridgeXmlBlockParserTest extends TestCase {
    public void testXmlBlockParser() throws Exception {

        XmlPullParser parser = ParserFactory.create(
                getClass().getResourceAsStream("com/android/layoutlib/testdata/layout1.xml"),
                getClass().getResourceAsStream("/com/android/layoutlib/testdata/layout1.xml"),
                        "layout1.xml");

        parser = new BridgeXmlBlockParser(parser, null, false /* platformResourceFlag */);