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

Commit f4425cdf authored by Abdullah Tabassum's avatar Abdullah Tabassum Committed by Android (Google) Code Review
Browse files

Merge "Resolve NPE when user updates display size" into udc-dev

parents b6abe55a d5c341a2
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -159,11 +159,12 @@ object ClockSettingsBinder {
                        if (selectedPosition != -1) {
                            val colorOptionContainerListView: LinearLayout =
                                view.requireViewById(R.id.color_options)

                            val selectedView =
                                colorOptionContainerListView.requireViewById<View>(
                                colorOptionContainerListView.findViewById<View>(
                                    COLOR_PICKER_ITEM_PREFIX_ID + selectedPosition
                                )
                            selectedView.parent.requestChildFocus(selectedView, selectedView)
                            selectedView?.parent?.requestChildFocus(selectedView, selectedView)
                        }
                    }
                }