Merge "IpSecService: Actually throw exception"
am: 3eff26449f Change-Id: I415b249d564c5ffdd2d9381b53a31dd6f6c18eab
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