Merge "IpSecService: Actually throw exception" am: 3eff26449f am: 50f53691de am: d7c0357277
am: fe09d91eae
Change-Id: Ic3440c4f933725be28d5cd2b86bebc2950206f63
This commit is contained in:
@@ -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