diff options
| author | Marin Shalamanov <shalamanov@google.com> | 2020-05-18 19:05:17 +0200 |
|---|---|---|
| committer | Marin Shalamanov <shalamanov@google.com> | 2020-05-26 16:55:06 +0200 |
| commit | 9070c055b66839151fddd30cfb94a37751436330 (patch) | |
| tree | e8809d9ffa1977c99b168e9a8e86c4fad12cc435 /docs/html/sdk/api_diff/8/changes | |
| parent | 9d0e54173e6b940c6272a8fa34acb44af90b439b (diff) | |
Resize boot animation on display changes
Use DisplayEventReceiver to listen for display hotplug
events and resize the boot animation is display size
changes.
Bug: 156448328
Test: manually make sure the boot animation has correct
dimensions in the following cases
I. With boot animation file
1. scrcpy
2. start boot animation with
adb shell /system/bin/bootanimation
when no physical display is connected (= 480p
fake HWC display). Use the virtual display from
scrcpy to check the boot animation size.
3. connect a 1080p display
(HWC sends hotplug connect to change the display)
4. disconnect the real display
II. Same steps without boot animation file
(android logo should be displayed)
Change-Id: Ib3f0383686399669e8de10456092baaec607fa01
Diffstat (limited to 'docs/html/sdk/api_diff/8/changes')
0 files changed, 0 insertions, 0 deletions
