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

Skip to content
Commit abfd66a9 authored by Wei-Luan Wang's avatar Wei-Luan Wang
Browse files

Migrate LeRandCallback to be base::OnceCallback

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

The callback of LeRand is expected to be called for receiving the
resulting random number. It's called only once so it should be a
base::OnceCallback.

Bug: 272116782
Test: m .
Change-Id: I8dc78f54aae455f089bc29ee814c3e0c0635ba9e
parent be6d7ce6
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