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
Loading
Please register or sign in to comment