From b950d5f7e9711362f175ff2262d055449b139325 Mon Sep 17 00:00:00 2001 From: roldenburg Date: Mon, 17 Jul 2017 11:49:58 -0700 Subject: Fix Lightbringer call upgrading when Dialer was not in memory before the call We need to load reachability data if we do not already have it when checking for upgrade. Previously we only did this for reachability. Bug: 63757003 Test: LightbringerImplTest PiperOrigin-RevId: 162246049 Change-Id: I9b4919e938b814ea18dc5107967bb6de7a945c19 --- .../com/android/incallui/videotech/lightbringer/LightbringerTech.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'java/com/android/incallui') diff --git a/java/com/android/incallui/videotech/lightbringer/LightbringerTech.java b/java/com/android/incallui/videotech/lightbringer/LightbringerTech.java index 55ee2db21..961de9e9a 100644 --- a/java/com/android/incallui/videotech/lightbringer/LightbringerTech.java +++ b/java/com/android/incallui/videotech/lightbringer/LightbringerTech.java @@ -91,7 +91,9 @@ public class LightbringerTech implements VideoTech, LightbringerListener { } @Override - public void onRemovedFromCallList() {} + public void onRemovedFromCallList() { + lightbringer.unregisterListener(this); + } @Override public int getSessionModificationState() { -- cgit v1.2.3