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

Commit e2633e40 authored by Shawn Lee's avatar Shawn Lee Committed by Automerger Merge Worker
Browse files

Merge "Prevent NPE in NPVC when accessing HeadsUpAppearanceController" into udc-dev am: 4ccef5d1

parents a0cbcf65 4ccef5d1
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -4373,7 +4373,8 @@ public final class NotificationPanelViewController implements ShadeSurface, Dump

                @Override
                public boolean shouldHeadsUpBeVisible() {
                    return mHeadsUpAppearanceController.shouldBeVisible();
                    return mHeadsUpAppearanceController != null &&
                            mHeadsUpAppearanceController.shouldBeVisible();
                }

                @Override