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

Commit 235c38f5 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Fix NPE crash in PermissionController" into sc-dev am: ff50eb43 am: 0938fc25

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

Change-Id: I2642b6cd42f9fb0c4e3a073ae3a4a57c4e487466
parents 237b67ed 0938fc25
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -59,7 +59,9 @@ public abstract class CollapsingToolbarBaseFragment extends Fragment implements
                false);
        mCollapsingToolbarLayout = view.findViewById(R.id.collapsing_toolbar);
        mAppBarLayout = view.findViewById(R.id.app_bar);
        if (mAppBarLayout != null) {
            mAppBarLayout.addOnOffsetChangedListener(this);
        }
        if (savedInstanceState != null) {
            mIsToolbarCollapsed = savedInstanceState.getBoolean(KEY_IS_TOOLBAR_COLLAPSED);
        }