diff options
author | Darryl L Johnson <darryljohnson@google.com> | 2020-09-23 14:27:04 -0700 |
---|---|---|
committer | Darryl L Johnson <darryljohnson@google.com> | 2020-10-08 14:27:56 -0700 |
commit | ecdee86b751a34bf24a992224ffb3fea69f22e56 (patch) | |
tree | b0603a8fae9cee409498f3f114a699479bdee424 /rs/java/android/renderscript/ProgramStore.java | |
parent | b64df77f460ef1df2c9721f3f7cf145c96e7c761 (diff) |
Reapply display settings to DisplayContent when display changes.
When the physical display devices that map to a logical display change
onDisplayChanged() is called. However, the current logic only reads the
display metric overrides supplied from settings on creation of the
DisplayContent. This updates the logic to ensure that when a display
changes the most up-to-date settings values are read which may be
different from the current values if the logical display is mapped to a
different physical display.
Bug: 168808369
Test: atest:DisplayContentTests#testDisplaySettingsReappliedWhenDisplayChanged
Change-Id: Ia3a0d199f81e0e0ebc531d1edee54638946702f2
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions