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

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

Merge "Always bind slice on background"

parents feeb12a9 83da1a1b
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -98,9 +98,6 @@ public class KeyguardSliceView extends LinearLayout implements View.OnClickListe
    protected void onAttachedToWindow() {
        super.onAttachedToWindow();

        // Set initial content
        showSlice(Slice.bindSlice(getContext(), mKeyguardSliceUri));

        // Make sure we always have the most current slice
        mLiveData.observeForever(this);
    }
@@ -265,7 +262,6 @@ public class KeyguardSliceView extends LinearLayout implements View.OnClickListe

        if (wasObserving) {
            mLiveData.observeForever(this);
            showSlice(Slice.bindSlice(getContext(), mKeyguardSliceUri));
        }
    }