Skip to content

Commit

Permalink
Merge tag 'android-5.1.1_r1' into aosp-5.1
Browse files Browse the repository at this point in the history
Android 5.1.1 release 1
  • Loading branch information
Alberto97 committed Apr 21, 2015
2 parents 78f70b1 + 47ca8fb commit 1421199
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/java/com/android/internal/telephony/PhoneBase.java
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,13 @@ protected PhoneBase(String name, PhoneNotifier notifier, Context context, Comman
mUiccController = UiccController.getInstance();
mUiccController.registerForIccChanged(this, EVENT_ICC_CHANGED, null);

// Monitor IMS service
// Monitor IMS service - but first poll to see if already up (could miss
// intent)
ImsManager imsManager = ImsManager.getInstance(mContext, getPhoneId());
if (imsManager != null && imsManager.isServiceAvailable()) {
mImsServiceReady = true;
updateImsPhone();
}
IntentFilter filter = new IntentFilter();
filter.addAction(ImsManager.ACTION_IMS_SERVICE_UP);
filter.addAction(ImsManager.ACTION_IMS_SERVICE_DOWN);
Expand Down

0 comments on commit 1421199

Please sign in to comment.