Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 016abd76 authored by Lucas Silva's avatar Lucas Silva
Browse files

Disable dismissing the dream on activity start

This is causing dreams to be terminated when activities start in the
background without any user activity. This makes it appear as if the
dream is randomly stopping.

Instead, activities may set the `turnScreenOn` flag if they wish to
launch over the dream.

Bug: 198041170
Test: atest DreamManagerServiceTests
Test: manually on device
Change-Id: I256b543de2ff07a91c451871db61b3ca516db79d
parent c56fb0fd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2422,7 +2422,7 @@

    <!-- Whether to dismiss the active dream when an activity is started. Doesn't apply to
         assistant activities (ACTIVITY_TYPE_ASSISTANT) -->
    <bool name="config_dismissDreamOnActivityStart">true</bool>
    <bool name="config_dismissDreamOnActivityStart">false</bool>

    <!-- The prefix of dream component names that are loggable. If empty, logs "other" for all. -->
    <string name="config_loggable_dream_prefix" translatable="false"></string>