IpSecService: Actually throw exception
Add a missing throw. Bug: 19797138 Test: m Test: Device boots Change-Id: I6c6058ecc95a5b85da43a42bac2846c31cefc038
This commit is contained in:
committed by
Nathan Harold
parent
8086539071
commit
afb01e2317
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user