summaryrefslogtreecommitdiff
path: root/libs/hwui/FrameInfoVisualizer.cpp
diff options
context:
space:
mode:
author Robert Horvath <robhor@google.com> 2022-11-01 14:21:47 +0000
committer Robert Horvath <robhor@google.com> 2022-11-01 14:22:30 +0000
commit998ef9a536e43339d14ae932e7116fe2a29faad9 (patch)
treed9d3eb2f5957082114a71ef581339741ed8dab78 /libs/hwui/FrameInfoVisualizer.cpp
parent6c70a328e5c48d1cd727b9b1aaff75fb3e209d95 (diff)
Let DreamActivity handle all configuration changes
On configuration changes such as screen orientation change, activities are usually recreated to reload resources. However, when DreamActivity is destroyed (also in the process of activity recreation) the dream is dismissed. To prevent this, DreamActivity was previously set to handle orientation change without activity recreation, but orientation changes often go along with screen size/layout changes, which still caused the DreamActivity to be recreated. This change lets DreamActivity handle all configuration changes without recreation, similar to how Window-based dreams used to work. Bug: 240892000 Merged-In: I345eb1d17ae88d893789dfcc160b4a9a664ba57f Change-Id: I4fdf0fe5f0bcd28b9af5cbe55f20760a3719da9c
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions