Loading src/java/com/android/internal/telephony/imsphone/ImsPhoneBase.java +4 −0 Original line number Diff line number Diff line Loading @@ -201,6 +201,10 @@ abstract class ImsPhoneBase extends Phone { AsyncResult ar = new AsyncResult(null, this, null); mPreciseCallStateRegistrants.notifyRegistrants(ar); notifyPreciseCallStateToNotifier(); } public void notifyPreciseCallStateToNotifier() { ImsPhoneCall ringingCall = (ImsPhoneCall) getRingingCall(); ImsPhoneCall foregroundCall = (ImsPhoneCall) getForegroundCall(); ImsPhoneCall backgroundCall = (ImsPhoneCall) getBackgroundCall(); Loading src/java/com/android/internal/telephony/imsphone/ImsPhoneCallTracker.java +5 −0 Original line number Diff line number Diff line Loading @@ -3063,6 +3063,11 @@ public class ImsPhoneCallTracker extends CallTracker implements ImsPullCall { conn.maybeChangeRingbackState(); maybeSetVideoCallProvider(conn, imsCall); // IMS call profile might be changed while call state is maintained. In this case, it's // required to notify to CallAttributesListener. // Since call state is not changed, TelephonyRegistry will not notify to // PreciseCallStateListener. mPhone.notifyPreciseCallStateToNotifier(); return; } Loading Loading
src/java/com/android/internal/telephony/imsphone/ImsPhoneBase.java +4 −0 Original line number Diff line number Diff line Loading @@ -201,6 +201,10 @@ abstract class ImsPhoneBase extends Phone { AsyncResult ar = new AsyncResult(null, this, null); mPreciseCallStateRegistrants.notifyRegistrants(ar); notifyPreciseCallStateToNotifier(); } public void notifyPreciseCallStateToNotifier() { ImsPhoneCall ringingCall = (ImsPhoneCall) getRingingCall(); ImsPhoneCall foregroundCall = (ImsPhoneCall) getForegroundCall(); ImsPhoneCall backgroundCall = (ImsPhoneCall) getBackgroundCall(); Loading
src/java/com/android/internal/telephony/imsphone/ImsPhoneCallTracker.java +5 −0 Original line number Diff line number Diff line Loading @@ -3063,6 +3063,11 @@ public class ImsPhoneCallTracker extends CallTracker implements ImsPullCall { conn.maybeChangeRingbackState(); maybeSetVideoCallProvider(conn, imsCall); // IMS call profile might be changed while call state is maintained. In this case, it's // required to notify to CallAttributesListener. // Since call state is not changed, TelephonyRegistry will not notify to // PreciseCallStateListener. mPhone.notifyPreciseCallStateToNotifier(); return; } Loading