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

Commit 9a647d53 authored by Alex Chau's avatar Alex Chau
Browse files

Log stackstrace if updateIconAlphaForHome is called after Taskbar is destroyed

Bug: 269409332
Test: manual
Change-Id: I0ff4be33b1e621b0e1a837f8211eb70c27368be1
parent 0a905650
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -454,6 +454,10 @@ import java.util.StringJoiner;
    }

    private void updateIconAlphaForHome(float alpha) {
        if (mControllers.taskbarActivityContext.isDestroyed()) {
            Log.e("b/260135164", "updateIconAlphaForHome is called after Taskbar is destroyed",
                    new Exception());
        }
        mIconAlphaForHome.setValue(alpha);
        boolean hotseatVisible = alpha == 0
                || (!mControllers.uiController.isHotseatIconOnTopWhenAligned()