Skip to content
Commit 998ef9a5 authored by Robert Horvath's avatar Robert Horvath
Browse files

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
parent 6c70a328
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment