From 69358ba936fd0d41df1375f9805c73668239965c Mon Sep 17 00:00:00 2001 From: Nivedita Sarkar Date: Thu, 21 May 2015 16:13:14 -0700 Subject: IMS-VT: Listen to sensor orientation changes and update camera preview - Register to listen to OrientationEventListener - Notify registrants of orientation changes and update camera preview size and orientation based on that. - Enable the orientation listener only when CVO is enabled. - Enable the orientation listener for video calls only. Disable it if we downgrade to VOLTE Bug: 21587367 Change-Id: I1735d05ab9b76074350e7aa8deae4f35ab71c56d --- InCallUI/src/com/android/incallui/InCallActivity.java | 1 - 1 file changed, 1 deletion(-) (limited to 'InCallUI') diff --git a/InCallUI/src/com/android/incallui/InCallActivity.java b/InCallUI/src/com/android/incallui/InCallActivity.java index d3a8c1d6f..2eab7d396 100644 --- a/InCallUI/src/com/android/incallui/InCallActivity.java +++ b/InCallUI/src/com/android/incallui/InCallActivity.java @@ -226,7 +226,6 @@ public class InCallActivity extends TransactionSafeActivity implements FragmentD dialogFragment.setListener(mSelectAcctListener); } } - mInCallOrientationEventListener = new InCallOrientationEventListener(this); Log.d(this, "onCreate(): exit"); -- cgit v1.2.3