diff options
author | Tyler Gunn <tgunn@google.com> | 2016-02-09 23:40:16 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2016-02-09 23:40:16 +0000 |
commit | b26dae0f4e7e51d5cfa37a510e863ab534cb229b (patch) | |
tree | 0a25059a72fab19ec927eb3e0f2619b7e65bd8e7 /InCallUI | |
parent | 011d958b6d723cb49ea11671789a29114a6c1f86 (diff) | |
parent | b0590651d4af6d27e59d1f2b25b4bca0548dc0bf (diff) |
IMS-VT: Clear progress spinner when primary call changes am: 2556c5cfb6
am: 1124c2fb24
* commit '1124c2fb24777f7b49e1c2311c2d88f6974e80a3':
IMS-VT: Clear progress spinner when primary call changes
Diffstat (limited to 'InCallUI')
-rw-r--r-- | InCallUI/src/com/android/incallui/CallCardPresenter.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/InCallUI/src/com/android/incallui/CallCardPresenter.java b/InCallUI/src/com/android/incallui/CallCardPresenter.java index 1fd69423b..de2fb5852 100644 --- a/InCallUI/src/com/android/incallui/CallCardPresenter.java +++ b/InCallUI/src/com/android/incallui/CallCardPresenter.java @@ -265,6 +265,9 @@ public class CallCardPresenter extends Presenter<CallCardPresenter.CallCardUi> if (shouldRefreshPrimaryInfo(primaryChanged, ui, shouldShowCallSubject(mPrimary))) { // primary call has changed if (previousPrimary != null) { + //clear progess spinner (if any) related to previous primary call + maybeShowProgressSpinner(previousPrimary.getState(), + Call.SessionModificationState.NO_REQUEST); CallList.getInstance().removeCallUpdateListener(previousPrimary.getId(), this); } CallList.getInstance().addCallUpdateListener(mPrimary.getId(), this); @@ -277,6 +280,9 @@ public class CallCardPresenter extends Presenter<CallCardPresenter.CallCardUi> } if (previousPrimary != null && mPrimary == null) { + //clear progess spinner (if any) related to previous primary call + maybeShowProgressSpinner(previousPrimary.getState(), + Call.SessionModificationState.NO_REQUEST); CallList.getInstance().removeCallUpdateListener(previousPrimary.getId(), this); } |