Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c53f7a2d authored by Ytai Ben-tsvi's avatar Ytai Ben-tsvi Committed by Android (Google) Code Review
Browse files

Merge "Prevent double-closing of native handle in HidlMemory" into sc-dev

parents a5706d29 808e525d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -79,6 +79,7 @@ public class HidlMemory implements Closeable {
    public void close() throws IOException {
        if (mHandle != null) {
            mHandle.close();
            mHandle = null;
        }
    }