Merge "fix argument to CloseGuard.open()"
This commit is contained in:
@@ -273,7 +273,7 @@ public class IpSecManager {
|
||||
} catch (RemoteException e) {
|
||||
throw e.rethrowFromSystemServer();
|
||||
}
|
||||
mCloseGuard.open("open");
|
||||
mCloseGuard.open("close");
|
||||
}
|
||||
|
||||
/** @hide */
|
||||
|
||||
@@ -126,7 +126,7 @@ public final class IpSecTransform implements AutoCloseable {
|
||||
checkResultStatus(status);
|
||||
mResourceId = result.resourceId;
|
||||
Log.d(TAG, "Added Transform with Id " + mResourceId);
|
||||
mCloseGuard.open("build");
|
||||
mCloseGuard.open("close");
|
||||
} catch (ServiceSpecificException e) {
|
||||
throw IpSecManager.rethrowUncheckedExceptionFromServiceSpecificException(e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user