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

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

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

* commit 'bc891fe6':
  Prevent NPE in VoicemailPlaybackPresenter.
parents 5a1e70b3 bc891fe6
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.