From 48b1ef1a1c5842d0f3b4656560c538015007e9bd Mon Sep 17 00:00:00 2001 From: Tyler Gunn Date: Mon, 18 May 2015 09:40:31 -0700 Subject: Remove reliance on getDefaultDisplay() to determine screen rotation. Replaced the calls to getWindowManager().getDefaultDisplay() with code to determine the screen rotation angle based on the angle ranges. Bug: 21208380 Change-Id: Ie91d38f9c0b4227bb2148a193c00339b5d8f4ce6 --- .../com/android/incallui/VideoCallPresenter.java | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) (limited to 'InCallUI/src/com/android/incallui/VideoCallPresenter.java') diff --git a/InCallUI/src/com/android/incallui/VideoCallPresenter.java b/InCallUI/src/com/android/incallui/VideoCallPresenter.java index ed7edf93c..20f3912b4 100644 --- a/InCallUI/src/com/android/incallui/VideoCallPresenter.java +++ b/InCallUI/src/com/android/incallui/VideoCallPresenter.java @@ -90,13 +90,6 @@ public class VideoCallPresenter extends Presenter