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

Commit 95205712 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix NPE when getting the callback cookie."

parents cd1d343f 7890e192
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -927,7 +927,7 @@ public class NetworkScoreService extends INetworkScoreService.Stub {
                try {
                    for (int i = 0; i < count; i++) {
                        consumer.accept(callbackList.getBroadcastItem(i),
                                callbackList.getRegisteredCallbackCookie(i));
                                callbackList.getBroadcastCookie(i));
                    }
                } finally {
                    callbackList.finishBroadcast();