commit | b950d5f7e9711362f175ff2262d055449b139325 | [log] [tgz] |
---|---|---|
author | roldenburg <roldenburg@google.com> | Mon Jul 17 11:49:58 2017 -0700 |
committer | Eric Erfanian <erfanian@google.com> | Mon Jul 24 20:39:31 2017 +0000 |
tree | e55804caa260dd6de71c36727016abede794e27f | |
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
diff --git a/java/com/android/incallui/videotech/lightbringer/LightbringerTech.java b/java/com/android/incallui/videotech/lightbringer/LightbringerTech.java index 55ee2db..961de9e 100644 --- a/java/com/android/incallui/videotech/lightbringer/LightbringerTech.java +++ b/java/com/android/incallui/videotech/lightbringer/LightbringerTech.java
@@ -91,7 +91,9 @@ } @Override - public void onRemovedFromCallList() {} + public void onRemovedFromCallList() { + lightbringer.unregisterListener(this); + } @Override public int getSessionModificationState() {