Merge "IpSecService: Actually throw exception" am: 3eff26449f am: 50f53691de am: d7c0357277

am: fe09d91eae

Change-Id: Ic3440c4f933725be28d5cd2b86bebc2950206f63
This commit is contained in:
Andreas Gampe
2017-07-12 01:50:13 +00:00
committed by android-build-merger

View File

@@ -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;