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

Skip to content
Commit 35de5a74 authored by Lucas Silva's avatar Lucas Silva
Browse files

Ensure config callback is always removed in dream overlay

Currently, when repeatOnLifecycle is cancelled, it will throw a
CancellationException which will cause the cleanup of the callback to be
skipped. This change wraps the cleanup in a finally block so that it
always runs.

Fixes: 297320149
Test: verified callback is now removed when dream exits using log statements
Flag: NA
Change-Id: Ic6c32df3969c7fddbc544e369551a7a52f4cdae1
parent 997be753
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