Merge "Remove ApkAssets access in finalizer" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
b1e62648bf
@@ -284,11 +284,6 @@ public class ResourcesProvider implements AutoCloseable, Closeable {
|
|||||||
Log.w(TAG, "ResourcesProvider " + this + " finalized with non-zero refs: "
|
Log.w(TAG, "ResourcesProvider " + this + " finalized with non-zero refs: "
|
||||||
+ mOpenCount);
|
+ mOpenCount);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mOpen) {
|
|
||||||
mOpen = false;
|
|
||||||
mApkAssets.close();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user