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

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

LayoutLib: Log error when style can't be found.

Change-Id: I9a88cdac44a2d31c053e7f0c92a14e69bd82ac83
parent 9b5b54b7
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -382,8 +382,9 @@ public final class BridgeContext extends Activity {
                        defStyleValues = (StyleResourceValue)item;
                    }
                } else {
                    // TODO: log the error properly
                    System.out.println("Failed to find defStyle: " + defStyleName);
                    Bridge.getLog().error(null,
                            String.format(
                                    "Failed to find style '%s' in current theme", defStyleName));
                }
            }
        }