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

Commit e6d36608 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "fix RuntimeException when inflating default layout for...

Merge "fix RuntimeException when inflating default layout for AdapterView-based widgets" into rvc-dev am: 47091008 am: e0768603 am: f66238d7 am: 21cafe01

Change-Id: I2020a8cfb49d1cdd055eda38ba2a34cb67b7633e
parents c1159c1d 21cafe01
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -625,7 +625,10 @@ public class AppWidgetHostView extends FrameLayout {
                    }
                }
                defaultView = inflater.inflate(layoutId, this, false);
                if (!(defaultView instanceof AdapterView)) {
                    // AdapterView does not support onClickListener
                    defaultView.setOnClickListener(this::onDefaultViewClicked);
                }
            } else {
                Log.w(TAG, "can't inflate defaultView because mInfo is missing");
            }