Remove race condition due to RAT technology change.

On RAT technology change old phone is destroyed and new phone created.
Original code performed unregistration of old phone and then registration
of new phone - small window where CallManager.getDefaultPhone() returned NULL.

Code changes order to make sure new phone is registered before old phone
is unregistered.

Bug: 17347478
Change-Id: Ife5b995de90bb5f8fab51af89f7b9aa50e7ec306
2 files changed
tree: b1fef1902f0d5667b0a5830d59f75fba8c8f98b5
  1. Android.mk
  2. CleanSpec.mk
  3. README.txt
  4. src/
  5. tests/
  6. tools/