diff options
author | Nivedita Sarkar <nsarkar@codeaurora.org> | 2015-05-21 16:13:14 -0700 |
---|---|---|
committer | Tyler Gunn <tgunn@google.com> | 2015-12-06 22:05:16 -0800 |
commit | 69358ba936fd0d41df1375f9805c73668239965c (patch) | |
tree | 38ee272a4248c40763fc4ba439b16b9237870d60 | |
parent | 0175dc9a647e1b9b013ad5c3b855a7594d7fbedb (diff) |
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
-rw-r--r-- | InCallUI/src/com/android/incallui/InCallActivity.java | 1 |
1 files changed, 0 insertions, 1 deletions
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"); |