diff options
author | roldenburg <roldenburg@google.com> | 2017-07-17 11:49:58 -0700 |
---|---|---|
committer | Eric Erfanian <erfanian@google.com> | 2017-07-24 20:39:31 +0000 |
commit | b950d5f7e9711362f175ff2262d055449b139325 (patch) | |
tree | e55804caa260dd6de71c36727016abede794e27f /java | |
parent | ce761e92df47b50ae3206dd402a46413e8ac3943 (diff) |
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
Diffstat (limited to 'java')
-rw-r--r-- | java/com/android/incallui/videotech/lightbringer/LightbringerTech.java | 4 |
1 files changed, 3 insertions, 1 deletions
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() { |