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

Commit d6d8e452 authored by Andreas Gampe's avatar Andreas Gampe Committed by Nathan Harold
Browse files

IpSecService: Actually throw exception

Add a missing throw.

Bug: 19797138
Test: m
Test: Device boots
Change-Id: I6c6058ecc95a5b85da43a42bac2846c31cefc038
parent 4ff3cf1e
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;