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

Commit a0349424 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Safely handle the case of BroadcastOptions being null." am: bff6b3b9 am: 98fcce4a

parents 95d01891 98fcce4a
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2323,7 +2323,8 @@ public abstract class Context {
    @SystemApi
    public void sendBroadcastMultiplePermissions(@NonNull Intent intent,
            @NonNull String[] receiverPermissions, @Nullable BroadcastOptions options) {
       sendBroadcastMultiplePermissions(intent, receiverPermissions, options.toBundle());
        sendBroadcastMultiplePermissions(intent, receiverPermissions,
                (options == null ? null : options.toBundle()));
    }

    /**