Merge "IpSecService: Actually throw exception" am: 3eff26449f am: 50f53691de
am: d7c0357277 Change-Id: I9d5b81d6f62b6d8ff7561d908c6d61b4a21c7419
This commit is contained in:
@@ -343,7 +343,7 @@ public class IpSecService extends IIpSecService.Stub {
|
||||
public void setOwnedByTransform() {
|
||||
if (mOwnedByTransform) {
|
||||
// Programming error
|
||||
new IllegalStateException("Cannot own an SPI twice!");
|
||||
throw new IllegalStateException("Cannot own an SPI twice!");
|
||||
}
|
||||
|
||||
mOwnedByTransform = true;
|
||||
|
||||
Reference in New Issue
Block a user