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

Commit e5528b89 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix AuthContainerView crash" into main

parents 8a263bad 0a0fe6f7
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -519,6 +519,10 @@ public class AuthContainerView extends LinearLayout

    @Override
    public void onAttachedToWindow() {
        if (Flags.bpFallbackOptions() || (mIsWatch && Flags.bpInitializeComposeWatch())) {
            ComposeInitializer.INSTANCE.onAttachedToWindow(this);
        }

        super.onAttachedToWindow();

        final WindowInsetsController insetsController = getWindowInsetsController();
@@ -534,10 +538,6 @@ public class AuthContainerView extends LinearLayout
            return;
        }

        if (Flags.bpFallbackOptions() || (mIsWatch && Flags.bpInitializeComposeWatch())) {
            ComposeInitializer.INSTANCE.onAttachedToWindow(this);
        }

        mWakefulnessLifecycle.addObserver(this);
        if (mConfig.mSkipIntro) {
            mContainerState = STATE_SHOWING;