commit | 4a22adba986be3b76b7607f320906729a511b6b4 | [log] [tgz] |
---|---|---|
author | wangqi <wangqi@google.com> | Mon Jun 18 13:18:06 2018 -0700 |
committer | Copybara-Service <copybara-piper@google.com> | Mon Jun 18 14:55:14 2018 -0700 |
tree | 3915a53ca34d1b8c141110119a742ab0dc3ede71 | |
parent | 8916483918c20cfe800501c953680e2bce736ab3 [diff] |
Fix wrong orientation change when a video call ends When video call is disconnected, VideoCallPresenter#checkForOrientationAllowedChange is invoked with "Call(= null)". When Call is null, set "DISALLOW" to Activity#setAllowOrientationChange. It causes that the end call screen is displayed in portrait mode even if in landscape mode. This is an upstream change: https://android-review.googlesource.com/c/platform/packages/apps/Dialer/+/694787 Bug: 80375554 Test: manual PiperOrigin-RevId: 201046687 Change-Id: Id08db0e399e067bd85ae44444de3e78aae14f67d