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

Commit 3eff2644 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "IpSecService: Actually throw exception"

parents 782ba0ac d6d8e452
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -343,7 +343,7 @@ public class IpSecService extends IIpSecService.Stub {
        public void setOwnedByTransform() {
        public void setOwnedByTransform() {
            if (mOwnedByTransform) {
            if (mOwnedByTransform) {
                // Programming error
                // Programming error
                new IllegalStateException("Cannot own an SPI twice!");
                throw new IllegalStateException("Cannot own an SPI twice!");
            }
            }


            mOwnedByTransform = true;
            mOwnedByTransform = true;