Merge "fix argument to CloseGuard.open()"

This commit is contained in:
Maciej Żenczykowski
2023-01-13 12:12:20 +00:00
committed by Gerrit Code Review
2 changed files with 2 additions and 2 deletions

View File

@@ -273,7 +273,7 @@ public class IpSecManager {
} catch (RemoteException e) {
throw e.rethrowFromSystemServer();
}
mCloseGuard.open("open");
mCloseGuard.open("close");
}
/** @hide */

View File

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