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

Commit fd743306 authored by Lei Li's avatar Lei Li Committed by Bruno Martins
Browse files

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: default avatarLei Li <lei.li.ofcl@gmail.com>
parent a74d50c7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment