Fix signature for finalize() to resolve API Lint error

The API linter on goog/master noticed that this method is
listed in the public API even though it's protected. The
change is probably related to a signature change from the
internal finalize method which throws a Throwable. Fix the
method in IpSecManager to throw Throwable, which should
fix the current.txt and resolve the lint error.

Bug: 69006767
Test: compilation, make update-api
Change-Id: I173d014baaa505c365b7916fcb52f2a8b4af9373
This commit is contained in:
Nathan Harold
2017-11-07 17:17:45 -08:00
parent 8c302f08a9
commit 2a30daf3f7

View File

@@ -136,7 +136,7 @@ public final class IpSecManager {
}
@Override
protected void finalize() {
protected void finalize() throws Throwable {
if (mCloseGuard != null) {
mCloseGuard.warnIfOpen();
}