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

Commit 90425b06 authored by Cole Faust's avatar Cole Faust Committed by Automerger Merge Worker
Browse files

Use Option.ofNullable instead of Optional.of am: 4fc9dd5a am: cc40c149 am: 6d0368bc

Original change: https://android-review.googlesource.com/c/platform/frameworks/opt/net/ims/+/1793852

Change-Id: I73239f56c81bee7a067a4299537180b91e933bc2
parents ca78a01f 6d0368bc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -697,7 +697,7 @@ public class UceRequestManager {
            SomeArgs args = (SomeArgs) msg.obj;
            final Long coordinatorId = (Long) args.arg1;
            final Long taskId = (Long) Optional.ofNullable(args.arg2).orElse(-1L);
            final Integer requestEvent = Optional.of(args.argi1).orElse(-1);
            final Integer requestEvent = Optional.ofNullable(args.argi1).orElse(-1);
            args.recycle();

            requestManager.logd("handleMessage: " + EVENT_DESCRIPTION.get(msg.what)