summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorroldenburg <roldenburg@google.com>2017-10-04 15:06:42 -0700
committerEric Erfanian <erfanian@google.com>2017-10-04 16:01:34 -0700
commit88e17b4f505ec2989c386db9ae08790b44b431e7 (patch)
tree581e53fb30608a8f8254dc38b21671aa5f4fe570 /java
parentd4dbf3c2d76767a7c4567a441fad27a5c1b22035 (diff)
Do not crash when LightbringerTech receives device orientation update
Bug: 67379105 Test: LightbringerTechTest PiperOrigin-RevId: 171069656 Change-Id: I8aa9d5a1886d98b6039eeec993b91dd2b600d415
Diffstat (limited to 'java')
-rw-r--r--java/com/android/incallui/videotech/lightbringer/LightbringerTech.java4
1 files changed, 1 insertions, 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() {