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

Commit bddd6fb0 authored by Yorke Lee's avatar Yorke Lee
Browse files

Make sure to not call getTelephonyManager with null context

Bug: 9465444

Change-Id: Ibe7f463da5ba0a5276701fa10ce01c28a5d4b16d
parent 15ef3e1d
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1660,6 +1660,10 @@ public class DialpadFragment extends Fragment
                            // TODO: Filter out emergency numbers if
                            // the carrier does not want redial for
                            // these.
                            // If the fragment has already been detached since the last time
                            // we called queryLastOutgoingCall in onResume there is no point
                            // doing anything here.
                            if (getActivity() == null) return;
                            mLastNumberDialed = number;
                            updateDialAndDeleteButtonEnabledState();
                        }