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

Commit 4d4b3b0b authored by Colin Cross's avatar Colin Cross
Browse files

Fixes more @Nullable issues in System UI and WMShell.

Test: builds
Fix: 294098415
Change-Id: I318cbe82e4ef9cefde6ff38a850a45185407ac04
parent 8a55862a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -85,7 +85,7 @@ class BubblePopupDrawable(private val config: Config) : Drawable() {
        canvas.drawPath(path, paint)
    }

    override fun onBoundsChange(bounds: Rect?) {
    override fun onBoundsChange(bounds: Rect) {
        requestPathUpdate()
    }

+1 −1
Original line number Diff line number Diff line
@@ -311,7 +311,7 @@ class DesktopTasksController(
        )
        val wct = WindowContainerTransaction()
        wct.setWindowingMode(task.token, WindowConfiguration.WINDOWING_MODE_MULTI_WINDOW)
        wct.setBounds(task.token, null)
        wct.setBounds(task.token, Rect())
        wct.setDensityDpi(task.token, getDefaultDensityDpi())
        if (Transitions.ENABLE_SHELL_TRANSITIONS) {
            transitions.startTransition(TRANSIT_CHANGE, wct, null /* handler */)
+1 −1
Original line number Diff line number Diff line
@@ -66,7 +66,7 @@ constructor(
        window.isNavigationBarContrastEnforced = false
        window.navigationBarColor = Color.TRANSPARENT

        clock = findViewById(R.id.clock)
        clock = requireViewById(R.id.clock)
        keyguardStatusViewController =
            keyguardStatusViewComponentFactory.build(clock).keyguardStatusViewController.apply {
                setDisplayedOnSecondaryDisplay()
+1 −1
Original line number Diff line number Diff line
@@ -87,7 +87,7 @@ constructor(
            }
            addListener(
                object : AnimatorListenerAdapter() {
                    override fun onAnimationEnd(animation: Animator?) {
                    override fun onAnimationEnd(animation: Animator) {
                        updateIsAnimatingSurface()
                    }
                }
+1 −1
Original line number Diff line number Diff line
@@ -226,7 +226,7 @@ class UnlockedScreenOffAnimationController @Inject constructor(
        val builder = InteractionJankMonitor.Configuration.Builder
            .withView(
                    InteractionJankMonitor.CUJ_SCREEN_OFF_SHOW_AOD,
                    notifShadeWindowControllerLazy.get().windowRootView
                    checkNotNull(notifShadeWindowControllerLazy.get().windowRootView)
            )
            .setTag(statusBarStateControllerImpl.getClockId())