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

Skip to content
Commit b5bc2efc authored by Wei-Luan Wang's avatar Wei-Luan Wang Committed by Jakub Pawłowski
Browse files

Migrate legacy base::Bind/Closure APIs for SchedulePeriodic

base::Bind and base::Callback are deprecated. Migrate the usages to
proper replacements.

The function |RepeatingTimer::SchedulePeriodic| schedule a job that runs
the |task| periodically so the type of |task| should be a
base::RepeatingClosure. Use base::BindReapting accordingly.

Bug: 272116782
Test: m .
Flag: EXEMPT mechanical refactor
Change-Id: I793f79bcdd9f446724703138ee8e631b0b3d542a
parent 068dbba1
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