diff options
author | Santos Cordon <santoscordon@google.com> | 2013-08-12 21:13:07 -0700 |
---|---|---|
committer | Santos Cordon <santoscordon@google.com> | 2013-08-13 17:22:53 +0000 |
commit | cea8155e7532f50953353500980d655816ebc121 (patch) | |
tree | a504d9ff328d02b6eb96484010a5a28d7c94adc2 /InCallUI/src/com/android/incallui/InCallActivity.java | |
parent | ad808068921ded06621fdb2a2fd42339efe62d79 (diff) |
Use shared contact info cache to get data for the notification.
Move around where ContactInfoCache is created so that StatusBarNotifier
and CallCardPresenter will use the same shared instance.
Change-Id: I6e0a7c48aa7a35a0f1a52b399eb127d69f41a879
Diffstat (limited to 'InCallUI/src/com/android/incallui/InCallActivity.java')
-rw-r--r-- | InCallUI/src/com/android/incallui/InCallActivity.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/InCallUI/src/com/android/incallui/InCallActivity.java b/InCallUI/src/com/android/incallui/InCallActivity.java index c76f08ad0..e1a979693 100644 --- a/InCallUI/src/com/android/incallui/InCallActivity.java +++ b/InCallUI/src/com/android/incallui/InCallActivity.java @@ -287,6 +287,8 @@ public class InCallActivity extends Activity { mainPresenter.getAudioModeProvider()); mCallCardFragment.getPresenter().setAudioModeProvider( mainPresenter.getAudioModeProvider()); + mCallCardFragment.getPresenter().setContactInfoCache( + mainPresenter.getContactInfoCache()); mainPresenter.addListener(mCallButtonFragment.getPresenter()); mainPresenter.addListener(mCallCardFragment.getPresenter()); |