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

Commit 4da12f19 authored by Deepanshu Gupta's avatar Deepanshu Gupta Committed by Android (Google) Code Review
Browse files

Merge "Minor fix to wrong error message"

parents 6dc6b899 8b4a6981
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -114,7 +114,7 @@ public class AdapterHelper {
                        if (value != null) {
                            if (value.getClass() != ViewAttribute.IS_CHECKED.getAttributeClass()) {
                                Bridge.getLog().error(LayoutLog.TAG_BROKEN, String.format(
                                        "Wrong Adapter Item value class for TEXT. Expected Boolean, got %s",
                                        "Wrong Adapter Item value class for IS_CHECKED. Expected Boolean, got %s",
                                        value.getClass().getName()), null);
                            } else {
                                cb.setChecked((Boolean) value);
@@ -134,7 +134,7 @@ public class AdapterHelper {
                        if (value != null) {
                            if (value.getClass() != ViewAttribute.SRC.getAttributeClass()) {
                                Bridge.getLog().error(LayoutLog.TAG_BROKEN, String.format(
                                        "Wrong Adapter Item value class for TEXT. Expected Boolean, got %s",
                                        "Wrong Adapter Item value class for SRC. Expected Boolean, got %s",
                                        value.getClass().getName()), null);
                            } else {
                                // FIXME