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

Commit 6adde2dd 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:...

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

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

Change-Id: I281199d296a81015f65e6963548453c1c7490250
parents 7c2354bd ef4567aa
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)