summaryrefslogtreecommitdiff
path: root/java/com/android/incallui/VideoPauseController.java
diff options
context:
space:
mode:
authorSekine Yasuaki <yasuaki.sekine@sony.com>2017-07-04 16:50:09 +0900
committerMasaya Nemoto <Masaya.Nemoto@sony.com>2018-07-19 06:42:48 +0000
commited336cbda4f1a56895b88cb2874be320ec3ab4b5 (patch)
tree26323b70aae4a1723374360b5757be3f3ce3eaff /java/com/android/incallui/VideoPauseController.java
parent4d6e1080533983791a47fcc22be38231d01692e4 (diff)
Fix to update peer dimensions when video screen resumes foreground
[Issue/Cause of defect] If partner device is rotated during video screen of target device is in background, and then resumes to foreground, partner image will be shown with incorrect dimensions. Because when video screen goes to background, VideoCallPresenter stops checking CVO(Coordination of Video Orientation) of partner device. And when video screen is resumed to foreground, there is no logic to update partner image with latest peer dimensions. [How to fix] Even if video screen is in background, CVO(peer dimensions) is notified to DialerCall. Therefore DialerCall should store the dimensions. And when video screen resumes to fore, VideoCallPresenter should update the screen with correct(latest) peer dimensions. Test: manual - Checked that the partner image is shown with correct dimensions. Bug: 111575038 Change-Id: I32ff5407f1222b232b47a35e7083a473be67b468
Diffstat (limited to 'java/com/android/incallui/VideoPauseController.java')
0 files changed, 0 insertions, 0 deletions