memory leak: Closes leaked instance
android.content.pm.PackageManager.java switches to using PackageParser2 to parse apk file. And PackageParser2 holds ThreadLocal instances named mSharedAppInfo and mSharedResult. Those ThreadLocals have to be released by calling PackageParser2.close(), or it will cause memory leaks of Activities.
Change-Id: Ic04c8b39e565eb462d9edd984468f9aed7749095
Signed-off-by:
Lei Li <lei.li.ofcl@gmail.com>
Loading
Please register or sign in to comment