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

Commit 3759b355 authored by Katherine Kuan's avatar Katherine Kuan Committed by Android (Google) Code Review
Browse files

Merge "Fix NPE in ContactDetailUpdatesFragment"

parents 088e44b3 48eca3fd
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -131,8 +131,14 @@ public class ContactDetailUpdatesFragment extends ListFragment
        }
        mLookupUri = lookupUri;
        mContactData = result;

        // If the adapter has been created already, then try to set stream items. Otherwise,
        // wait for the adapter to get initialized, after which we will try to set the stream items
        // again.
        if (mStreamItemAdapter != null) {
            mStreamItemAdapter.setStreamItems(mContactData.getStreamItems());
        }
    }

    @Override
    public void setAlphaLayerValue(float alpha) {