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) { } catch (RemoteException e) {
throw e.rethrowFromSystemServer(); throw e.rethrowFromSystemServer();
} }
mCloseGuard.open("open"); mCloseGuard.open("close");
} }
/** @hide */ /** @hide */

View File

@@ -126,7 +126,7 @@ public final class IpSecTransform implements AutoCloseable {
checkResultStatus(status); checkResultStatus(status);
mResourceId = result.resourceId; mResourceId = result.resourceId;
Log.d(TAG, "Added Transform with Id " + mResourceId); Log.d(TAG, "Added Transform with Id " + mResourceId);
mCloseGuard.open("build"); mCloseGuard.open("close");
} catch (ServiceSpecificException e) { } catch (ServiceSpecificException e) {
throw IpSecManager.rethrowUncheckedExceptionFromServiceSpecificException(e); throw IpSecManager.rethrowUncheckedExceptionFromServiceSpecificException(e);
} }