From 88e17b4f505ec2989c386db9ae08790b44b431e7 Mon Sep 17 00:00:00 2001 From: roldenburg Date: Wed, 4 Oct 2017 15:06:42 -0700 Subject: Do not crash when LightbringerTech receives device orientation update Bug: 67379105 Test: LightbringerTechTest PiperOrigin-RevId: 171069656 Change-Id: I8aa9d5a1886d98b6039eeec993b91dd2b600d415 --- .../com/android/incallui/videotech/lightbringer/LightbringerTech.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/java/com/android/incallui/videotech/lightbringer/LightbringerTech.java b/java/com/android/incallui/videotech/lightbringer/LightbringerTech.java index 3a0ac48d5..784daa85a 100644 --- a/java/com/android/incallui/videotech/lightbringer/LightbringerTech.java +++ b/java/com/android/incallui/videotech/lightbringer/LightbringerTech.java @@ -187,9 +187,7 @@ public class LightbringerTech implements VideoTech, LightbringerListener { } @Override - public void setDeviceOrientation(int rotation) { - throw Assert.createUnsupportedOperationFailException(); - } + public void setDeviceOrientation(int rotation) {} @Override public void onLightbringerStateChanged() { -- cgit v1.2.3