Make sure fd is always initialized
Test: MemoryIntArray tests pass bug:35791084 Change-Id: Icf1ea7717d58a23b89f85a798826b2f5e4d47401
This commit is contained in:
@@ -56,7 +56,7 @@ public final class MemoryIntArray implements Parcelable, Closeable {
|
||||
|
||||
private final boolean mIsOwner;
|
||||
private final long mMemoryAddr;
|
||||
private int mFd;
|
||||
private int mFd = -1;
|
||||
|
||||
/**
|
||||
* Creates a new instance.
|
||||
|
||||
Reference in New Issue
Block a user