commit | 3da32995d95493bafff79d91ab1ff1d3ae74d6ed | [log] [tgz] |
---|---|---|
author | SongFerngWang <songferngwang@google.com> | Thu Dec 10 19:47:16 2020 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Thu Dec 10 19:47:16 2020 +0000 |
tree | e87a9ab8d829972a7f99d5df3ceed91a8f919d0d | |
parent | a7795b57c3d3059c989cf0d78301b756f04d5dc4 [diff] | |
parent | bd566a9e871b3550fe2fe137f24c95c63a3fe91f [diff] |
Move the CallManager registerPhone into GsmCdmaPhone am: 6b04a4a212 am: bd566a9e87 Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/services/Telephony/+/13191256 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I46409e2c4980610604e1dd6ed7afebcd3bb8f387
diff --git a/src/com/android/phone/PhoneGlobals.java b/src/com/android/phone/PhoneGlobals.java index 509aa57..03d5afe 100644 --- a/src/com/android/phone/PhoneGlobals.java +++ b/src/com/android/phone/PhoneGlobals.java
@@ -367,9 +367,6 @@ startService(intent); mCM = CallManager.getInstance(); - for (Phone phone : PhoneFactory.getPhones()) { - mCM.registerPhone(phone); - } // Create the NotificationMgr singleton, which is used to display // status bar icons and control other status bar behavior.