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

Commit a45a1324 authored by Android Build Merger (Role)'s avatar Android Build Merger (Role) Committed by Android (Google) Code Review
Browse files

Merge "Fix crash if drawable doesn't have constant state am: 92d0602a am:...

Merge "Fix crash if drawable doesn't have constant state am: 92d0602a am: 0ea9093d am: 38afe3a0"
parents 925c3350 bc5a090d
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -110,12 +110,15 @@ public class BackdropFrameRenderer extends Thread implements Choreographer.Frame
            int statusBarColor, int navigationBarColor) {
        mDecorView = decorView;
        mResizingBackgroundDrawable = resizingBackgroundDrawable != null
                        && resizingBackgroundDrawable.getConstantState() != null
                ? resizingBackgroundDrawable.getConstantState().newDrawable()
                : null;
        mCaptionBackgroundDrawable = captionBackgroundDrawableDrawable != null
                        && captionBackgroundDrawableDrawable.getConstantState() != null
                ? captionBackgroundDrawableDrawable.getConstantState().newDrawable()
                : null;
        mUserCaptionBackgroundDrawable = userCaptionBackgroundDrawable != null
                        && userCaptionBackgroundDrawable.getConstantState() != null
                ? userCaptionBackgroundDrawable.getConstantState().newDrawable()
                : null;
        if (mCaptionBackgroundDrawable == null) {