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

Commit bc891fe6 authored by Andrew Lee's avatar Andrew Lee Committed by Android Git Automerger
Browse files

am 93f905e4: am 9d1d797b: Prevent NPE in VoicemailPlaybackPresenter.

* commit '93f905e4':
  Prevent NPE in VoicemailPlaybackPresenter.
parents 11a953c6 93f905e4
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -417,10 +417,12 @@ public class VoicemailPlaybackPresenter
            super(handler);
            mFetchResultHandler = handler;

            if (mContext != null) {
                mContext.getContentResolver().registerContentObserver(
                        voicemailUri, false, this);
                mFetchResultHandler.postDelayed(this, FETCH_CONTENT_TIMEOUT_MS);
            }
        }

        /**
         * Stop waiting for content and notify UI if {@link FETCH_CONTENT_TIMEOUT_MS} has elapsed.