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

Commit a7c176c3 authored by Dianne Hackborn's avatar Dianne Hackborn
Browse files

Fix issue #1806217.

We were not clearing the background drawable if it had been set as a resource
reference.
parent 23506431
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -954,7 +954,7 @@ public class PhoneWindow extends Window implements MenuBuilder.Callback {

    @Override
    public final void setBackgroundDrawable(Drawable drawable) {
        if (drawable != mBackgroundDrawable) {
        if (drawable != mBackgroundDrawable || mBackgroundResource != 0) {
            mBackgroundResource = 0;
            mBackgroundDrawable = drawable;
            if (mDecor != null) {