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

Commit 5feba9b2 authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Snap for 13221802 from b42491bc to 25Q2-release

Change-Id: If1845c9ee6539295d37c2145d587de1bf744098f
parents 9166f537 b42491bc
Loading
Loading
Loading
Loading
+8 −4
Original line number Diff line number Diff line
@@ -207,10 +207,14 @@ object ClockSettingsBinder {
                                    ClockSize.DYNAMIC -> clockViewFactory.getLargeView(clockId)
                                    ClockSize.SMALL -> clockViewFactory.getSmallView(clockId)
                                }

                            // Wait for previous removeAllViews to finish, and add the clockView
                            clockHostView.post {
                                // The clock view might still be attached to an existing parent.
                                // Detach before adding to another parent.
                                (clockView.parent as? ViewGroup)?.removeView(clockView)
                                clockHostView.addView(clockView)
                            }

                            when (size) {
                                ClockSize.DYNAMIC -> {