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

Commit 43aed48f authored by Tim Murray's avatar Tim Murray Committed by Android (Google) Code Review
Browse files

Merge "Pass through null LaunchOption structs to standard forEach."

parents 7f03185f ba9dd061
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -171,6 +171,11 @@ public class Script extends BaseObj {
            throw new RSIllegalArgumentException(
                "At least one of ain or aout is required to be non-null.");
        }

        if (sc == null) {
            forEach(slot, ain, aout, v);
            return;
        }
        int in_id = 0;
        if (ain != null) {
            in_id = ain.getID(mRS);