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

Commit d121059a authored by Yorke Lee's avatar Yorke Lee Committed by Android (Google) Code Review
Browse files

Merge "Make sure to not call getTelephonyManager with null context" into klp-dev

parents a53c9ced bddd6fb0
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1663,6 +1663,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();
                        }