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

Commit d50f206a authored by Adam Cohen's avatar Adam Cohen Committed by Android Git Automerger
Browse files

am a7af0209: am 0e1608c0: Merge "Attempted fix for issue 7469415" into jb-mr1-lockscreen-dev

* commit 'a7af0209':
  Attempted fix for issue 7469415
parents 9862ac9c a7af0209
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -351,12 +351,12 @@ public class RemoteViews implements Parcelable, Filter {
                    public void onClick(View v) {
                        // Insure that this view is a child of an AdapterView
                        View parent = (View) v.getParent();
                        while (!(parent instanceof AdapterView<?>)
                        while (parent != null && !(parent instanceof AdapterView<?>)
                                && !(parent instanceof AppWidgetHostView)) {
                            parent = (View) parent.getParent();
                        }

                        if (parent instanceof AppWidgetHostView) {
                        if (parent instanceof AppWidgetHostView || parent == null) {
                            // Somehow they've managed to get this far without having
                            // and AdapterView as a parent.
                            Log.e("RemoteViews", "Collection item doesn't have AdapterView parent");