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

Commit a07abf7f authored by Daisuke Miyakawa's avatar Daisuke Miyakawa
Browse files

Call invalidateOptionMenu() on onNewIntent()

CALL intent is often used by the other apps or CallLog screen to request
dialpad screen (DialpadFragment), at which we should clean up previous menu
states prepared by CallLog or Favorites tabs.

Bug: 5148698
Change-Id: I4cee5a3abc92805353bf0a53fe68c062124cbac3
parent 21759ceb
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -552,6 +552,7 @@ public class DialtactsActivity extends Activity {
                Log.e(TAG, "DialpadFragment isn't ready yet when the tab is already selected.");
            }
        }
        invalidateOptionsMenu();
    }

    /** Returns true if the given intent contains a phone number to populate the dialer with */