diff options
author | Tyler Gunn <tgunn@google.com> | 2015-12-07 23:04:41 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2015-12-07 23:04:41 +0000 |
commit | f9c9b82a58766639ad4442509ce31fc9e1df0b02 (patch) | |
tree | 04a6beded4c1f471feeab92f88c83d4576d100f9 /InCallUI | |
parent | c6fe56dbf0c84b08d198a08226669345e93b6556 (diff) | |
parent | f07bd49fec9442aba6dcfb07f55c3a0ffebc6af9 (diff) |
Enable reverse portrait support for video calls.
am: a9659a539f
* commit 'a9659a539f1debd9bb9b57f1b11249cfe19d6d29':
Enable reverse portrait support for video calls.
Diffstat (limited to 'InCallUI')
-rw-r--r-- | InCallUI/src/com/android/incallui/InCallPresenter.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/InCallUI/src/com/android/incallui/InCallPresenter.java b/InCallUI/src/com/android/incallui/InCallPresenter.java index d4d95bc54..c8fe0cb77 100644 --- a/InCallUI/src/com/android/incallui/InCallPresenter.java +++ b/InCallUI/src/com/android/incallui/InCallPresenter.java @@ -1596,7 +1596,9 @@ public class InCallPresenter implements CallList.Listener, if (!allowOrientationChange) { mInCallActivity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_NOSENSOR); } else { - mInCallActivity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_SENSOR); + // Using SCREEN_ORIENTATION_FULL_SENSOR allows for reverse-portrait orientation, where + // SCREEN_ORIENTATION_SENSOR does not. + mInCallActivity.setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_FULL_SENSOR); } } |