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

Commit 15780ebb authored by kwaky's avatar kwaky Committed by Automerger Merge Worker
Browse files

DO NOT MERGE Do not reinflate the layout if it has not been already inflated. am: b700beab

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13807481

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I6cc751dbf46a6e45c04b605cf5f07194a2f20b4f
parents 82abc59b b700beab
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -245,6 +245,9 @@ public class NotificationPanelViewController extends OverlayPanelViewController

    /** Reinflates the view. */
    public void reinflate() {
        // Do not reinflate the view if it has not been inflated at all.
        if (!isInflated()) return;

        ViewGroup container = (ViewGroup) getLayout();
        container.removeView(mNotificationView);