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

Commit decc767f authored by Jason Monk's avatar Jason Monk
Browse files

Guard against monkey crash.

Bug: 27784445
Change-Id: I4ba6e02e0cdb6857661a824ae0888feac6762a05
parent 5f96b25d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -139,6 +139,7 @@ public class DashboardSummary extends InstrumentedFragment
    @Override
    public void onSaveInstanceState(Bundle outState) {
        super.onSaveInstanceState(outState);
        if (mLayoutManager == null) return;
        outState.putInt(EXTRA_SCROLL_POSITION, mLayoutManager.findFirstVisibleItemPosition());
    }