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

Skip to content
Commit a3ad489e authored by William Escande's avatar William Escande
Browse files

RequireNonNullElse replaced to use supplier

By using RequireNonNullElse, the code is executed even when the first
element in non-null.

This was not intended. Instead using requireNonNullElseGet in order to
use the supplier.get method that will not execute the code when the
first argument is non-null

Bug: 311772251
Test: m Bluetooth
Flag: Exempt, Trivial change for profile initialization
Change-Id: I0d9d53c5b7033ff643987b7922cdd8b9d28801ef
parent 19410862
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