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

Commit 30770f82 authored by calderwoodra's avatar calderwoodra Committed by Copybara-Service
Browse files

Check if parent is null since fetch call can be called while Dialer is paused.

Bug: 73972084
Test: n/a
PiperOrigin-RevId: 189418664
Change-Id: I3dadea08dad1f2a594f5a7e0daf055721c3222a3
parent a7530f84
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -151,8 +151,10 @@ public class VisualVoicemailCallLogFragment extends CallLogFragment {
  @Override
  public void fetchCalls() {
    super.fetchCalls();
    if (FragmentUtils.getParent(this, CallLogFragmentListener.class) != null) {
      FragmentUtils.getParentUnsafe(this, CallLogFragmentListener.class).updateTabUnreadCounts();
    }
  }

  @Override
  public void onVisible() {