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

Commit 825b979f authored by Peter Kalauskas's avatar Peter Kalauskas Committed by Android (Google) Code Review
Browse files

Merge "Only update detail text when adapter is not null" into sc-dev

parents 5d7f29fd 85a70418
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -210,6 +210,7 @@ public class QSDetail extends LinearLayout {
            mDetailAdapter = adapter;
            listener = mHideGridContentWhenDone;
            setVisibility(View.VISIBLE);
            updateDetailText();
        } else {
            if (wasShowingDetail) {
                Dependency.get(MetricsLogger.class).hidden(mDetailAdapter.getMetricsCategory());
@@ -223,7 +224,6 @@ public class QSDetail extends LinearLayout {
            mQsPanelController.setGridContentVisibility(true);
            mQsPanelCallback.onScanStateChanged(false);
        }
        updateDetailText();
        sendAccessibilityEvent(AccessibilityEvent.TYPE_WINDOW_STATE_CHANGED);

        if (mShouldAnimate) {