diff options
author | Andrew Lee <anwlee@google.com> | 2015-05-12 23:10:41 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-05-12 23:10:41 +0000 |
commit | a50e87314fa6bc666159c0c8f4cdd025afbcce7c (patch) | |
tree | 168da84df8f2fef3e665f56af7524a33d804fd05 /InCallUI | |
parent | dee7faf429aa16dc7d85285815f5181d15128aae (diff) | |
parent | df3ef3fc3d10573507c6451bffd1f55dfcb475dd (diff) |
am 9e8aff11: Don\'t use static instance of EmergencyCallListener.
* commit '9e8aff1134ed82afd1ca82ca21a465d9e8e09b91':
Don't use static instance of EmergencyCallListener.
Diffstat (limited to 'InCallUI')
-rw-r--r-- | InCallUI/src/com/android/incallui/CallCardPresenter.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/InCallUI/src/com/android/incallui/CallCardPresenter.java b/InCallUI/src/com/android/incallui/CallCardPresenter.java index b233ad56b..eed92cf59 100644 --- a/InCallUI/src/com/android/incallui/CallCardPresenter.java +++ b/InCallUI/src/com/android/incallui/CallCardPresenter.java @@ -65,12 +65,11 @@ public class CallCardPresenter extends Presenter<CallCardPresenter.CallCardUi> public void onCallUpdated(BaseFragment fragment, boolean isEmergency); } - private static final EmergencyCallListener mEmergencyCallListener = - ObjectFactory.newEmergencyCallListener(); - private static final String TAG = CallCardPresenter.class.getSimpleName(); private static final long CALL_TIME_UPDATE_INTERVAL_MS = 1000; + private final EmergencyCallListener mEmergencyCallListener = ObjectFactory.newEmergencyCallListener(); + private Call mPrimary; private Call mSecondary; private ContactCacheEntry mPrimaryContactInfo; |