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

Commit 361a1268 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fixes NPE on user changing back to Owner"

parents 02dd9e25 ae46022f
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -365,7 +365,11 @@ public class QSFragment extends Fragment implements QS, CommandQueue.Callbacks {
                .setListener(new AnimatorListenerAdapter() {
                    @Override
                    public void onAnimationEnd(Animator animation) {
                        if (getView() != null) {
                            // The view could be destroyed before the animation completes when
                            // switching users.
                            getView().animate().setListener(null);
                        }
                        mHeaderAnimating = false;
                        updateQsState();
                    }