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

Commit 4da10276 authored by Andreas Miko's avatar Andreas Miko
Browse files

Remove Nothing return from onActivated()

The `activate()` function returns Nothing as it is the API surface and
it communicates to the user that the function never returns.
`onActivated()` in turn is only called internally and is supposed to
be overriden. Returning Nothing forces the overwrite to add
`awaitCancellation` which is unnecessary because it is ok to make it
return early.

Bug: b/420591935
Test: Refactor only
Flag: com.android.systemui.scene_container
Change-Id: Ie1541f303e4930f36775b8e88d3b43dfbde6d95e
parent 824e843a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment