Do not reload emergency numbers in onStart().

The default dial pad view and emergency number shortcut view uses
different themes so that they can't switch between each other easily
without recreating activity. It will be a potential risk to fall into a
loop of onCreate() - recreate() if recreate() is called in onStart.

However, without recreating activity, the shortcut view may become empty
after user launch another activity, e.g. EmergencyInfo, and back to
EmergencyDialer again, if network environment has been changed in this
duration and no number should be promoted on screen. This should be a
rare case, but it can confuse user a lot.

Therefore, we removed the code to reload emergency numbers in onStart().
Shortcut view will be updated when it's launched from power menu or lock
screen next time.

Bug: 112168722
Bug: 120515262
Test: Manually
Change-Id: Iff288de543f44a01b592ef90a4992e735c181d21
1 file changed